51 Commits

Author SHA1 Message Date
Richard W.M. Jones
72cfaff5c5 Update copyright dates for 2025
Automated using this command:

perl -pi.bak -e 's/(20[012][0-9])-20[12][01234]/$1-2025/g' `git ls-files`
2025-02-16 17:00:46 +00:00
Richard W.M. Jones
e2c7bddf10 Update copyright dates for 2023
Run this command across the source:

  perl -pi.bak -e 's/(20[012][0-9])-20[12][012]/$1-2023/g' `git ls-files`

and remove changes to po{,-docs}/*.po{,t} (these will be regenerated
later when we run 'make dist').
2023-02-07 10:50:48 +00:00
Richard W.M. Jones
0e17236d7d Update copyright dates to 2020. 2020-03-06 19:32:32 +00:00
Richard W.M. Jones
05d4fcb64d Update copyright dates for 2019.
This command run over the source:

perl -pi.bak -e 's/(20[01][0-9])-2018/$1-2019/g' `git ls-files`
2019-01-08 11:58:30 +00:00
Richard W.M. Jones
212762c593 Update copyright dates for 2018.
Run the following command over the source:

  perl -pi.bak -e 's/(20[01][0-9])-2017/$1-2018/g' `git ls-files`
2018-01-04 15:30:10 +00:00
Pino Toscano
55bf7de97c Update copyright dates for 2017
Run the following command over the source:

  perl -pi.bak -e 's/(20[01][0-9])-2016/$1-2017/g' `git ls-files`

(Thanks Rich for the perl snippet, as used in past years.)
2017-01-03 16:48:21 +01:00
Richard W.M. Jones
307c83177c Update copyright dates for 2016.
Run the following command over the source:

  perl -pi.bak -e 's/(20[01][0-9])-2015/$1-2016/g' `git ls-files`
2016-01-02 21:19:51 +00:00
Richard W.M. Jones
c5800dc97d Update copyright dates for 2015. 2015-01-17 09:08:15 +00:00
Richard W.M. Jones
b13c22668d appliance: Use supermin >= 5.
This requires the new version of supermin (5.1.0).
2014-02-26 15:21:08 +00:00
Richard W.M. Jones
6c971faecf Update copyright dates for 2014. 2014-01-02 16:53:34 +00:00
Richard W.M. Jones
1fcea09ee2 appliance: Create an /etc/resolv.conf file referring to qemu user network nameserver (RHBZ#1044585). 2013-12-18 16:03:43 +00:00
Olaf Hering
3acf6768f0 add --with-supermin-extra-options configure option
Useful to pass --use-installed and other options to supermin.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2013-04-11 22:20:55 +01:00
Richard W.M. Jones
e73cd348c8 Don't delete iconv locale data from the appliance.
- /usr/lib{,64}/gconv/*:

This is the iconv data, required for APIs like iconv_open to work.  In
particular, the mtools 'mcopy' program fails completely if it cannot
use iconv.  'mcopy' is used by SYSLINUX to copy files to the disk.

The error you would have seen is:

  Error converting to codepage 850 Invalid argument
  Cannot initialize 'S:'
  Bad target s:/ldlinux.sys

- /usr/bin/localedef and /usr/sbin/build-locale-archive:

These are not really needed, but both are simply small binaries so we
might as well not delete them.
2013-04-04 18:23:32 +01:00
Richard W.M. Jones
a0a4ee5245 Use 'supermin' and 'supermin-helper' in preference to febootstrap.
Febootstrap has been renamed upstream to 'supermin':
https://www.redhat.com/archives/libguestfs/2013-February/msg00004.html

This commit changes libguestfs so it can use either program to build
the supermin appliance.
2013-02-05 15:31:05 +00:00
Richard W.M. Jones
0d18a8b407 Update copyright dates for 2013. 2013-02-02 13:56:19 +00:00
Richard W.M. Jones
bfddae7cee build: Change --with-febootstrap-yum-config to --with-febootstrap-packager-config
For the rationale behind this renaming, see:
b8cbe191d0

You can still, for the time being, use
./configure --with-febootstrap-yum-config
but it's preferred to switch to the new option.  The new option is
identical, just renamed.

Qe still pass the deprecated --yum-config option to febootstrap
itself, since both old and new febootstrap support this.
2012-12-22 17:28:10 +00:00
Richard W.M. Jones
08840bab44 Tempus fugit.
Update all copyright dates to 2012.
2012-01-18 22:05:02 +00:00
Matthew Booth
04ea1375c5 Update FSF address. 2011-11-08 14:43:07 +00:00
Richard W.M. Jones
da24e7aab0 appliance: Don't hard-code febootstrap --exclude parameters.
Create a separate file 'excludelist.in' that contains these
regular expressions, and process it the same way as packagelist.in.
2010-12-19 10:57:06 +00:00
Richard W.M. Jones
b5516dc9d4 debian: Exclude file-rc.
This package duplicates /etc/init.d/README which is
really supplied by sysv-rc package.
2010-12-09 16:41:40 +00:00
Richard W.M. Jones
1e78cd1690 appliance: Don't quote the --exclude parameters.
The quotes appear literally on the command line:

$ s="--foo 'bar'"
$ echo $s
--foo 'bar'
2010-12-06 22:04:27 +00:00
Richard W.M. Jones
53853f717c Add --with-febootstrap-yum-config.
This allows the febootstrap --yum-config option to be passed through,
allowing a separate yum configuration to be used.

The hope is that this will enable building in Koji.
2010-12-06 22:04:27 +00:00
Richard W.M. Jones
6d75ce8e6c appliance: Change to using febootstrap 3.x supermin appliance.
This removes all support for building the ordinary / old
style appliance using febootstrap 2.x, debootstrap, debirf,
fakeroot and fakechroot.

Instead this uses febootstrap 3.x to build the supermin appliance
in a simpler cross-distro manner.
2010-12-05 11:23:23 +00:00
Richard W.M. Jones
16e39ac0b8 Remove FIPS .*.hmac files from the supermin appliance (RHBZ#654638). 2010-11-18 15:32:05 +00:00
Richard W.M. Jones
f1930720d9 appliance: Remove repo from appliance filename (RHBZ#638901).
There's no need to have the appliance filename contain the
repository name it was built from, and this change gives
downstream users more freedom to mix and match libraries
and appliances if they want to.
2010-10-27 10:59:45 +01:00
Richard Jones
e319b120ac appliance: Ignore unreadable dbus service file (Fedora 15). 2010-09-22 14:10:13 +01:00
Matthew Booth
d1c2287fe4 Fix appliance build dependency problem
The appliance was being completely rebuilt every time guestfsd was updated. This
was because make.sh depended on guestfsd, which it had to do because it
called update.sh to install guestfsd.

This fix removes the call to update.sh in make.sh, and therefore the dependency
on guestfsd. The Makefile already includes a rule to run update.sh when guestfsd
is updated, so this was unnecessary.
2010-09-21 10:56:47 +01:00
Richard Jones
6e10a24df0 appliance: Fix /etc/resolv.conf
Since changing to use link local address
(commit fbf29976b3)
we have included an incorrect resolv.conf file in the appliance
which points to the old (qemu) DNS server.  This commit changes
to use the new DNS server.
2010-05-20 10:30:12 +01:00
Richard Jones
2dc7bb0033 appliance: Ignore utempter unreadable binaries (for RHEL 6). 2010-05-18 10:37:11 +01:00
Richard Jones
155aa76e57 appliance: Change comment about unreadable binaries. 2010-05-18 10:01:45 +01:00
Richard Jones
4a065c99e4 appliance: Run depmod to create modules.dep for the kernel.
Since we disabled running new-kernel-pkg in febootstrap, this
has meant that the normal appliance has not had a modules.dep
file.  (Supermin was unaffected by this).
2010-03-22 10:41:16 +00:00
Richard Jones
aca024e976 Remove plymouth libraries from the appliance. 2010-03-08 16:04:09 +00:00
Richard Jones
088d0c53cf Another unreadable file: /var/log/yum.log 2010-01-29 14:24:54 +00:00
Richard Jones
3c398c8928 supermin: Ignore more unreadable files found on RHEL 6. 2010-01-25 16:18:17 +00:00
Richard Jones
795cf46a03 appliance: Ignore unreadable dbus helper programs. 2009-12-16 11:04:10 +00:00
Richard Jones
2447695a8d appliance: Remove /usr/sbin/tcpd - it's unreadable on RHEL 5.4. 2009-08-13 17:23:25 +01:00
Richard Jones
2361905686 If using SELinux, mount /selinux in the appliance.
If selinux=1 on the Linux kernel command line, then we mount
/selinux in the appliance.  We will also bind-mount this
directory into guests when we run commands.
2009-08-12 17:23:58 +01:00
Jim Meyering
0c463dd0aa build: remove trailing blank lines; enable the syntax-check rule
* cfg.mk (disable_temporarily): Remove sc_prohibit_trailing_blank_lines.
* appliance/Makefile.am: Remove trailing blank line(s).
* appliance/debian/modules/y0_install-guestfsd: Likewise.
* appliance/make.sh.in: Likewise.
* appliance/packagelist.in: Likewise.
* appliance/update.sh.in: Likewise.
* haskell/run-bindtests: Likewise.
* ocaml/run-bindtests: Likewise.
* python/run-python-tests: Likewise.
* recipes/squashfs.example: Likewise.
* ruby/run-ruby-tests: Likewise.
2009-08-04 14:47:09 +02:00
Matthew Booth
349814e9d9 Make it possible to build in a separate directory
This patch allows you to do:
mkdir build
cd build
../configure ...
make

This will output all generated files to the build directory. Given that
autogen automatically runs configure, you can also do:

BUILDDIR=./build ./autogen.sh

which will do the right thing.

Also:

* Fix a dependency bug which means that guestfs_protocol.h
  isn't automatically rebuilt.
* Re-running autogen.sh with no arguments won't blow away your previous
  configure arguments.
2009-07-03 16:16:51 +01:00
Guido Günther
3f903f01d9 touch fakeroot.log
indicationg we're done creating the appliance
2009-07-03 12:11:17 +01:00
Richard W.M. Jones
7d3cccb66d Don't rebuild the whole appliance if just the /init script has been changed. 2009-07-02 21:33:51 +01:00
Guido Günther
9f19ddd0c4 Build Debian based appliance using debirf 2009-07-02 14:12:24 +01:00
Richard W.M. Jones
b7f39224e1 Move init script into a separate file. 2009-06-19 14:47:22 +01:00
Richard W.M. Jones
677b280411 Move distro package list to a separate packagelist.in file. 2009-06-19 14:26:44 +01:00
Richard Jones
e00b27fea3 Remove unreadable binaries that give warnings in supermin appliance. 2009-06-18 14:37:12 +01:00
Richard Jones
414aa67f2b Experimental implementation of the supermin appliance (passes most tests). 2009-06-15 20:38:12 +01:00
Richard Jones
161c7cd7f9 Move kernel module list to a separate whitelist file. 2009-06-15 14:45:05 +01:00
Richard Jones
3ed322c7c8 Remove /lib/kbd (keyboard maps) from the appliance. 2009-06-13 11:16:43 +01:00
Richard Jones
812a2d57a8 Remove firmware from the appliance. 2009-06-13 11:11:03 +01:00
Richard Jones
aa7676aa74 make.sh calls update.sh directly.
Combine the common tail of make.sh and update.sh so that make
just calls update at the end directly.  The effect is the same.
2009-06-13 10:59:51 +01:00