summaryrefslogtreecommitdiffstats
path: root/appliance
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix gfs2 support by adding required kernel modules.Richard Jones2010-06-281-0/+4
|
* Use the noop scheduler inside the appliance.Richard Jones2010-06-071-0/+3
| | | | | | | | | In my limited tests, this seems to make a small but noticable difference, improving the performance of some straightforward read operations by a little over 10%. For more information see: http://kbase.redhat.com/faq/docs/DOC-5428
* RHEL 6: sr_mod.ko is needed for RHEL 6 to see CD-ROM devices (RHBZ#598807).Richard Jones2010-06-021-0/+1
|
* Make the supermin appliance include local augeas lensesMatthew Booth2010-05-271-0/+3
|
* build: Remove install_kernel from EXTRA_DIST.Richard Jones2010-05-241-1/+0
| | | | | This updates commit a34fadf900625f1f7359ecf3ca760820ffa20815, removing this now non-existent script from EXTRA_DIST.
* ubuntu: Use direct udevd method to start udev on Ubuntu.Richard Jones2010-05-201-1/+1
| | | | | | | | | On Ubuntu, /etc/init.d/udev is a symlink to an upstart file, but running that causes the appliance to hang. Therefore detect if this is a symlink and fall through to the direct start of udevd. This shouldn't affect Debian because the file is not a symlink on standard Debian.
* ubuntu: Remove two FUSE packages from the default list.Richard Jones2010-05-201-2/+7
| | | | | | | fuse-utils (a dependency of these) cannot be installed under debirf because it does something with the system udevd which is not permitted. Seems to be a bug either in fakeroot or in the post install scripts for fuse-utils.
* ubuntu: Ignore packages in packagelist.in which are missing.Richard Jones2010-05-201-2/+10
| | | | | | | | | | | | | | For distros using 'yum', packages which cannot be found are just ignored. This allows us to include for example 'e4fsprogs' on the list even though that only exists on RHEL 5. However for Debian-derived distros, missing packages would cause apt to fail. This was particularly a problem when building Ubuntu since it doesn't have as complete a list of packages, and the list changed a lot between releases. This commit adds a check first for missing packages, ignoring those and thus acting more like 'yum'.
* Ubuntu: Use apt-get instead of aptitude when installing guestfsd.Richard Jones2010-05-201-2/+2
|
* Ubuntu: Revert install-kernel to debirf default script.Richard Jones2010-05-203-68/+2
|
* appliance: Fix /etc/resolv.confRichard Jones2010-05-201-1/+1
| | | | | | | | Since changing to use link local address (commit fbf29976b33a69c64dc7847c54454bf2cfa5fde6) 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.
* appliance: Ignore utempter unreadable binaries (for RHEL 6).Richard Jones2010-05-181-0/+1
|