summaryrefslogtreecommitdiffstats
path: root/appliance
Commit message (Collapse)AuthorAgeFilesLines
* appliance: Add 'mdadm' package.Richard W.M. Jones2011-10-311-0/+1
|
* appliance: udev-174 moves udevd to /lib/udev/udevd (instead of /sbin/udevd)Richard W.M. Jones2011-10-201-0/+5
|
* Ubuntu 11.10: Create /run and /run/lock if not already.Richard W.M. Jones2011-10-181-0/+1
| | | | In real machines these directories are a ramdisk.
* appliance: Fedora cryptsetup-luks renamed to cryptsetup.Richard W.M. Jones2011-10-141-1/+2
| | | | Therefore we need both names to be listed in the file.
* Use ArchLinux's new kernel package "linux".Erik Nolte2011-10-141-1/+1
|
* New APIs: compress-out, compress-device-out.Richard W.M. Jones2011-09-281-0/+1
| | | | | | | | | | | | | | | | | These APIs let you copy compressed files or devices out from the disk image. Compression is useful for large images which are mostly zeroes. We cannot currently do sparseness detection, and compression gives us a form of zero detection for free. Example usage: $ guestfish --ro -a /dev/vg_pin/F16x64 -i \ compress-out gzip /etc/passwd /tmp/passwd.gz $ file -z /tmp/passwd.gz /tmp/passwd.gz: ASCII text (gzip compressed data, was "passwd", from Unix, last modified: Sun Aug 28 14:40:46 2011)
* Create /sys directory if it doesn't exist already.Richard W.M. Jones2011-09-011-0/+1
| | | | Ubuntu 10.04 LTS packages don't create /sys.
* out-of-tree build: fix applianceHilko Bengen2011-08-151-0/+1
|
* debian: Add gawk to packagelist.Richard W.M. Jones2011-08-021-0/+1
| | | | It's already included, but implicitly.
* appliance: Add systemd to get /sbin/reboot for virt-rescue (RHBZ#661280).Richard W.M. Jones2011-07-132-5/+1
|
* init: Remove timeout in udevadm settle command.Richard W.M. Jones2011-06-081-1/+1
| | | | | | | | | | The given timeout (10s) was too low if the appliance was running slowly, which caused a cascade of other failures during tests. Note that in udev-171 and above on Fedora, /sbin/start_udev no longer exists, so now we are using this manual method to start udevd.
* fuse: Fix getxattr, listxattr calls and add a regression test (RHBZ#691389).Richard W.M. Jones2011-03-281-0/+1
| | | | | | | | | | | | | | | | | The documentation for the getxattr and listxattr calls is not very clear and as a result we were always returning something different from that which the Linux kernel would usually return. This fixes these calls, at least far enough that both the 'getfattr' and 'getfacl' programs now work fine on FUSE-mounted filesystems. Note that SELinux attrs are *not* passed through. This appears to be a known bug between SELinux and FUSE. For more information see: http://www.spinics.net/lists/selinux/msg09460.html Notes: Labels: bugfix, RHBZ#691389
* debian: Rename nilfs2-tools to nilfs-tools.Richard W.M. Jones2011-03-051-1/+1
|
* daemon: Remove -f (don't fork) option.Richard W.M. Jones2011-02-031-1/+1
| | | | This option was not being used.
* packagelist: Add ufsutils for Debian and Ubuntu.Richard W.M. Jones2011-01-261-0/+1
| | | | | Note there is no mkfs.ufs available for Fedora (see RHBZ#541618 for details).
* appliance: Don't exclude upstart (/sbin/reboot) (RHBZ#661280).Richard W.M. Jones2010-12-191-1/+0
| | | | | Don't exclude upstart from the appliance. It provides /sbin/reboot which is required by virt-rescue.
* appliance: Don't hard-code febootstrap --exclude parameters.Richard W.M. Jones2010-12-194-7/+75
| | | | | Create a separate file 'excludelist.in' that contains these regular expressions, and process it the same way as packagelist.in.
* appliance: Use a temporary file when processing packagelist.in.Richard W.M. Jones2010-12-191-1/+2
|
* appliance: Add 'attr' package for xattr support in virt-rescue.Richard W.M. Jones2010-12-161-0/+1
|
* Removed hfsprogs from supermin packages for ArchThomas S Hatch2010-12-121-1/+0
|
* debian: Work around warning in Debian udev init script.Richard W.M. Jones2010-12-101-0/+5
| | | | | See also: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606622
* Added packages for Archlinux supportThomas S Hatch2010-12-101-0/+22
|
* debian: Exclude file-rc.Richard W.M. Jones2010-12-091-0/+3
| | | | | This package duplicates /etc/init.d/README which is really supplied by sysv-rc package.
* appliance: Don't quote the --exclude parameters.Richard W.M. Jones2010-12-061-1/+1
| | | | | | | | The quotes appear literally on the command line: $ s="--foo 'bar'" $ echo $s --foo 'bar'
* Add --with-febootstrap-yum-config.Richard W.M. Jones2010-12-061-4/+5
| | | | | | | 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.
* build: Use grub-pc instead of old grub on Debian and Ubuntu.Richard W.M. Jones2010-12-061-1/+2
|
* build: Add diff to package list for Debian and Ubuntu.Richard W.M. Jones2010-12-061-0/+1
|
* build: Add cpio package to package list (for Debian and Ubuntu).Richard W.M. Jones2010-12-061-0/+1
|
* ubuntu: Disable xfsprogs from Ubuntu package list.Richard W.M. Jones2010-12-061-0/+5
|
* ubuntu: Make Ubuntu into a separate distro for the package list.Richard W.M. Jones2010-12-061-4/+12
| | | | This allows us to select Ubuntu packages separately from Debian ones.
* debian: Enable more packages in packagelist.in.Richard W.M. Jones2010-12-061-6/+1
| | | | | | These were previously disabled because of problems with debirf. Now we are not using debirf, we can use them again.
* Debian: Extra packages needed to run C API tests.Richard W.M. Jones2010-12-051-0/+5
|
* appliance: Change to using febootstrap 3.x supermin appliance.Richard W.M. Jones2010-12-0512-420/+49
| | | | | | | | | 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.
* appliance: Put /init in a separate supermin appliance component.Richard W.M. Jones2010-12-041-0/+9
|
* debian: Include ntfsprogs in the appliance.Richard W.M. Jones2010-11-241-0/+1
| | | | | This allows us to build NTFS filesystems at least. Mounting NTFS doesn't work in Debian because of a problem with debirf.
* Remove FIPS .*.hmac files from the supermin appliance (RHBZ#654638).Richard W.M. Jones2010-11-181-0/+5
|
* appliance: Remove repo from appliance filename (RHBZ#638901).Richard W.M. Jones2010-10-273-7/+7
| | | | | | | 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.
* appliance: Ignore unreadable dbus service file (Fedora 15).Richard Jones2010-09-221-0/+1
|
* Fix appliance build dependency problemMatthew Booth2010-09-212-5/+1
| | | | | | | | | | 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.
* appliance: Disable setting scheduler to noop.Richard Jones2010-09-131-1/+3
| | | | | | This is a workaround until https://bugzilla.redhat.com/show_bug.cgi?id=630583 is fixed (bug in Linux 2.6.36).
* ubuntu: Remove bogus debirf file.Richard Jones2010-09-131-0/+1
|
* ubuntu: Add linux-image to the packagelist.Richard Jones2010-09-131-0/+1
| | | | | It seems that linux-image (ie. the kernel) is omitted in some versions of the base packages.
* ubuntu: /proc can be a symlinkRichard Jones2010-09-131-0/+1
| | | | | If it's a symlink then the succeeding mount commnd will fail. Remove it and make a /proc directory.
* appliance: init script does 'ls -lR /dev' (verbose only)Richard Jones2010-09-061-1/+1
| | | | | It's useful to see what files are in /dev subdirectories at boot, eg. for looking at virtio-serial ports.
* Shut down the appliance cleanlyMatthew Booth2010-08-261-1/+1
| | | | | | | | | | | | When guestfsd exits, or the user exits the virt-rescue shell, the init script exits which causes the kernel to panic. This isn't really a functional issue, as all useful work is done by this point. However, it does cause virt-rescue to display an unsightly error message. This patch causes the appliance to power off cleanly before the init script exits. Note it actually does a reboot rather than a poweroff. This is because ACPI is disabled in the appliance, meaning poweroff doesn't work, but qemu is configured not to restart on reboot.
* Call sync after guestfsd exitsMatthew Booth2010-08-261-21/+24
| | | | | | | | Core files are not reliably written to disk if guestfsd dumps core. This patch makes libguestfs do the same appliance cleanup for guestfsd and virt-rescue, which seems to fix the matter. It also removes a redundant sleep and additional sync when exiting virt-rescue.
* Don't print debug messages when not in verbose mode.Richard Jones2010-08-241-15/+17
| | | | Don't print them because no one's listening ...
* appliance: Remove some obsolete testing rules from Makefile.amRichard Jones2010-08-211-31/+0
| | | | This haven't been used -- and haven't worked -- for a long time.
* New APIs: Support for opening LUKS-encrypted disks.Richard Jones2010-07-212-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for opening LUKS-encrypted disks, via three new APIs: luks_open: Create a mapping for an encrypted disk. luks_open_ro: Same, but read-only mapping. luks_close: Close a mapping. A typical guestfish session using this functionality looks like this: $ guestfish --ro -a encrypted.img ><fs> run ><fs> list-devices /dev/vda ><fs> list-partitions /dev/vda1 /dev/vda2 ><fs> vfs-type /dev/vda2 crypto_LUKS ><fs> luks-open /dev/vda2 luksdev Enter key or passphrase ("key"): ><fs> vgscan ><fs> vg-activate-all true ><fs> pvs /dev/dm-0 ><fs> vgs vg_f13x64encrypted ><fs> lvs /dev/vg_f13x64encrypted/lv_root /dev/vg_f13x64encrypted/lv_swap ><fs> mount /dev/vg_f13x64encrypted/lv_root / ><fs> ll / total 132 dr-xr-xr-x. 24 root root 4096 Jul 21 12:01 . dr-xr-xr-x 20 root root 0 Jul 21 20:06 .. drwx------. 3 root root 4096 Jul 21 11:59 .dbus drwx------. 2 root root 4096 Jul 21 12:00 .pulse -rw-------. 1 root root 256 Jul 21 12:00 .pulse-cookie dr-xr-xr-x. 2 root root 4096 May 13 03:03 bin NOT included in this patch: - An easier way to use this from guestfish. - Ability to create LUKS devices. - Ability to change LUKS keys on existing devices. - Direct access to the /dev/mapper device (eg. if it contains anything apart from VGs).
* Explicitly depend on e2fsprogs.Richard Jones2010-06-281-0/+1
| | | | See: http://lists.fedoraproject.org/pipermail/devel/2010-June/137953.html