genkernel.git
12 years agoMerge branch 'bug-418463'
Sebastian Pipping [Mon, 4 Jun 2012 19:43:10 +0000 (21:43 +0200)]
Merge branch 'bug-418463'

Conflicts:
ChangeLog

12 years agoMake sure that cbc.ko and aes*.ko needed for cbc-essiv:sha256 (=default) disk encrypt...
Sebastian Pipping [Sat, 2 Jun 2012 21:31:07 +0000 (23:31 +0200)]
Make sure that cbc.ko and aes*.ko needed for cbc-essiv:sha256 (=default) disk encryption are included with the initramfs (bug #416973)

12 years agoSupport bind mounts from /etc/initramfs.mounts (bug #418463)
Sebastian Pipping [Sat, 2 Jun 2012 21:12:31 +0000 (23:12 +0200)]
Support bind mounts from /etc/initramfs.mounts (bug #418463)

12 years agoFix an e2fsprogs compilation leftover (bug #417095)
Sebastian Pipping [Mon, 28 May 2012 18:25:52 +0000 (20:25 +0200)]
Fix an e2fsprogs compilation leftover (bug #417095)

12 years agoBump to 3.4.33.1 v3.4.33.1
Sebastian Pipping [Thu, 17 May 2012 18:32:58 +0000 (20:32 +0200)]
Bump to 3.4.33.1

12 years agoFix call to blkid of util-linux
Sebastian Pipping [Thu, 17 May 2012 18:22:02 +0000 (20:22 +0200)]
Fix call to blkid of util-linux

12 years agoBump version to 3.4.33 v3.4.33
Sebastian Pipping [Thu, 17 May 2012 17:47:29 +0000 (19:47 +0200)]
Bump version to 3.4.33

12 years agoAdd notes on how to test things
Sebastian Pipping [Thu, 17 May 2012 17:45:00 +0000 (19:45 +0200)]
Add notes on how to test things

12 years agoUse blkid from system's util-linux rather than compiling e2fsprogs ourselves
Sebastian Pipping [Thu, 17 May 2012 17:23:45 +0000 (19:23 +0200)]
Use blkid from system's util-linux rather than compiling e2fsprogs ourselves

12 years agoBe verbose bout files being added to initramfs for --loglevel=2 and above
Sebastian Pipping [Thu, 17 May 2012 16:04:48 +0000 (18:04 +0200)]
Be verbose bout files being added to initramfs for --loglevel=2 and above

12 years agoRevert verbosity of internals (a debugging leftover)
Sebastian Pipping [Mon, 14 May 2012 00:54:30 +0000 (02:54 +0200)]
Revert verbosity of internals (a debugging leftover)

12 years agoBump version to 3.4.32 v3.4.32
Sebastian Pipping [Mon, 14 May 2012 00:14:38 +0000 (02:14 +0200)]
Bump version to 3.4.32

12 years agoStop removing lvm/dmsetup from the initramfs (bug #415697)
Sebastian Pipping [Mon, 14 May 2012 00:14:13 +0000 (02:14 +0200)]
Stop removing lvm/dmsetup from the initramfs (bug #415697)

12 years agoSet CONFIG_DEVTMPFS=y on x86, x86_64, default for udev
Sebastian Pipping [Sat, 12 May 2012 18:42:29 +0000 (20:42 +0200)]
Set CONFIG_DEVTMPFS=y on x86, x86_64, default for udev

12 years agoBump version to 3.4.31 v3.4.31
Sebastian Pipping [Sat, 12 May 2012 14:21:32 +0000 (16:21 +0200)]
Bump version to 3.4.31

12 years agoDo not import a pool that the kernel automatically imported
Richard Yao [Wed, 2 May 2012 02:28:10 +0000 (22:28 -0400)]
Do not import a pool that the kernel automatically imported

This works around the following upstream issue:
https://github.com/zfsonlinux/zfs/issues/714

Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
12 years agoImprove ZFS diagnostics, import and mounting
Richard Yao [Mon, 30 Apr 2012 17:34:01 +0000 (13:34 -0400)]
Improve ZFS diagnostics, import and mounting

Make ZFS only import the specified pool
Set zfsutil when mounting non-legacy rootfs
Check for /sbin/zpool in addition to /sbin/zfs
Print information messages when ZFS pools are imported
Prompt user when mounting a ZFS filesystem without ZFS support
Verify that <dataset> in real_root=ZFS=<dataset> is a filesystem

12 years agoVerify that binaries exist before startVolumes calls them
Richard Yao [Mon, 30 Apr 2012 16:39:04 +0000 (12:39 -0400)]
Verify that binaries exist before startVolumes calls them

12 years agoSerialize hotplug events to mimic udev
Richard Yao [Tue, 24 Apr 2012 07:23:53 +0000 (03:23 -0400)]
Serialize hotplug events to mimic udev

12 years agoUpdate genkernel ZFS warnings
Richard Yao [Tue, 24 Apr 2012 06:31:00 +0000 (02:31 -0400)]
Update genkernel ZFS warnings

12 years agoMake --bootloader=grub2 set debug instead of single in grub.cfg
Richard Yao [Tue, 24 Apr 2012 05:52:08 +0000 (01:52 -0400)]
Make --bootloader=grub2 set debug instead of single in grub.cfg

12 years agoFix indentation in set_bootloader_grub2()
Richard Yao [Tue, 24 Apr 2012 05:51:33 +0000 (01:51 -0400)]
Fix indentation in set_bootloader_grub2()

12 years agolddtree call must be outside the for loop.
Robin H. Johnson [Wed, 18 Apr 2012 02:45:05 +0000 (19:45 -0700)]
lddtree call must be outside the for loop.

12 years agoFix date on some changelog items.
Robin H. Johnson [Mon, 16 Apr 2012 03:15:46 +0000 (03:15 +0000)]
Fix date on some changelog items.

12 years agogen_initramfs: Use CC0 instead of public domain for copy_binaries to cover French...
Robin H. Johnson [Mon, 16 Apr 2012 03:15:01 +0000 (03:15 +0000)]
gen_initramfs: Use CC0 instead of public domain for copy_binaries to cover French jurisdiction concerns.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoAdjust licensing policy on copy_binaries() after a chat with robbat2
Sebastian Pipping [Mon, 16 Apr 2012 03:06:25 +0000 (05:06 +0200)]
Adjust licensing policy on copy_binaries() after a chat with robbat2

12 years agoMerge branch 'cryptsetup'
Sebastian Pipping [Mon, 16 Apr 2012 02:37:01 +0000 (04:37 +0200)]
Merge branch 'cryptsetup'

Conflicts:
ChangeLog

12 years agoMake sure that we can use our own copy_binaries in the future
Sebastian Pipping [Mon, 16 Apr 2012 02:35:18 +0000 (04:35 +0200)]
Make sure that we can use our own copy_binaries in the future

12 years agoBump version to 3.4.30 v3.4.30
Sebastian Pipping [Mon, 16 Apr 2012 02:10:17 +0000 (04:10 +0200)]
Bump version to 3.4.30

12 years agoSupport a non-static cryptsetup binary (bug #409277)
Sebastian Pipping [Mon, 16 Apr 2012 01:55:46 +0000 (03:55 +0200)]
Support a non-static cryptsetup binary (bug #409277)

.. by making use of copy_binaries

12 years agoAdd error detection to copy_binaries
Sebastian Pipping [Mon, 16 Apr 2012 01:18:48 +0000 (03:18 +0200)]
Add error detection to copy_binaries

12 years agogen_initramfs: Release the copy_binaries function as public domain.
Robin H. Johnson [Sun, 15 Apr 2012 02:24:47 +0000 (02:24 +0000)]
gen_initramfs: Release the copy_binaries function as public domain.

The copy_binaries function is explicitly released into the public domain to
encourage wide adoption and re-use.

This is to enable use in some cases of BSD and other licensing, and
specifically avoiding the need to be party to any contributor agreements.
Additionally, the code could be considered of trivial length in some regions.

Written by:
- Robin H. Johnson <robbat2@gentoo.org> (complete rewrite)
- Richard Yao <ryao@cs.stonybrook.edu> (original concept)

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoHandle other possible paths for LVM.
Robin H. Johnson [Sun, 15 Apr 2012 02:13:37 +0000 (02:13 +0000)]
Handle other possible paths for LVM.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoFix README to list dependency introduced by 1079122ea0c1733024dbebadd2ae8ad2c88a9bee
Richard Yao [Sun, 8 Apr 2012 01:20:06 +0000 (21:20 -0400)]
Fix README to list dependency introduced by 1079122ea0c1733024dbebadd2ae8ad2c88a9bee

12 years agoMake sure the previous move of cd commands cannot result in unexpected regressions
Sebastian Pipping [Thu, 12 Apr 2012 04:17:54 +0000 (06:17 +0200)]
Make sure the previous move of cd commands cannot result in unexpected regressions

12 years agoReorder mdev initialization to mimic udev boot
Richard Yao [Thu, 15 Mar 2012 21:45:04 +0000 (17:45 -0400)]
Reorder mdev initialization to mimic udev boot

12 years agoEnable real_root=ZFS to permit booting off ZFS
Richard Yao [Sat, 7 Apr 2012 20:56:49 +0000 (16:56 -0400)]
Enable real_root=ZFS to permit booting off ZFS

12 years agoMove ZFS binary check outside of commandline loop
Richard Yao [Sat, 7 Apr 2012 21:17:50 +0000 (17:17 -0400)]
Move ZFS binary check outside of commandline loop

12 years agoMerge branch 'keymaps'
Sebastian Pipping [Mon, 9 Apr 2012 02:43:50 +0000 (04:43 +0200)]
Merge branch 'keymaps'

Acked-by: Rick Farina <sidhayn@gmail.com>
12 years agoExtend change log
Sebastian Pipping [Mon, 9 Apr 2012 02:43:09 +0000 (04:43 +0200)]
Extend change log

12 years agoAdd keymap "sf", i.e. Switzerland (French) from Pentoo
Sebastian Pipping [Mon, 9 Apr 2012 01:36:55 +0000 (03:36 +0200)]
Add keymap "sf", i.e. Switzerland (French) from Pentoo

12 years agoFix keymap permissions (no need to be executable)
Sebastian Pipping [Mon, 9 Apr 2012 01:37:55 +0000 (03:37 +0200)]
Fix keymap permissions (no need to be executable)

12 years agoRemove keymap trq/38 as it contains C sources of test(1) rather than a keymap at...
Sebastian Pipping [Mon, 9 Apr 2012 01:16:16 +0000 (03:16 +0200)]
Remove keymap trq/38 as it contains C sources of test(1) rather than a keymap at the moment

12 years agoUntar keymaps
Sebastian Pipping [Mon, 9 Apr 2012 00:51:43 +0000 (02:51 +0200)]
Untar keymaps

12 years agoBump version to 3.4.29 v3.4.29
Sebastian Pipping [Sun, 8 Apr 2012 22:13:29 +0000 (00:13 +0200)]
Bump version to 3.4.29

12 years agoMerge branch 'bug-388437'
Sebastian Pipping [Sun, 8 Apr 2012 22:12:10 +0000 (00:12 +0200)]
Merge branch 'bug-388437'

12 years agoMention Tomasz Wasiak in change log
Sebastian Pipping [Sun, 8 Apr 2012 22:11:24 +0000 (00:11 +0200)]
Mention Tomasz Wasiak in change log

12 years ago/etc/defaults/grub -> /etc/default/grub
Sebastian Pipping [Sun, 8 Apr 2012 22:07:35 +0000 (00:07 +0200)]
/etc/defaults/grub -> /etc/default/grub

12 years agogrub-mkconfig -> grub2-mkconfig
Sebastian Pipping [Sun, 8 Apr 2012 22:07:17 +0000 (00:07 +0200)]
grub-mkconfig -> grub2-mkconfig

12 years agoReduce code duplication in set_bootloader_grub
Sebastian Pipping [Sun, 8 Apr 2012 19:41:19 +0000 (21:41 +0200)]
Reduce code duplication in set_bootloader_grub

12 years agoSupport for Grub 2
Mike Auty [Sun, 8 Apr 2012 19:31:37 +0000 (21:31 +0200)]
Support for Grub 2

12 years agoMerge branch 'bug-411197'
Sebastian Pipping [Sun, 8 Apr 2012 18:32:42 +0000 (20:32 +0200)]
Merge branch 'bug-411197'

12 years agoExtend change log
Sebastian Pipping [Sun, 8 Apr 2012 18:29:22 +0000 (20:29 +0200)]
Extend change log

12 years agoAdd "fastest" to supported initrd compressions
Sebastian Pipping [Sun, 8 Apr 2012 18:24:14 +0000 (20:24 +0200)]
Add "fastest" to supported initrd compressions

12 years agoRefactor code selecting best available initrd compression
Sebastian Pipping [Sun, 8 Apr 2012 18:27:08 +0000 (20:27 +0200)]
Refactor code selecting best available initrd compression

12 years agoSupport comression "lzop" (not just "lzo") as wrongly advertised by comments in genke...
Sebastian Pipping [Sun, 8 Apr 2012 18:27:01 +0000 (20:27 +0200)]
Support comression "lzop" (not just "lzo") as wrongly advertised by comments in genkernel.conf before

12 years agoBe more helpful when requested compression is not available
Sebastian Pipping [Sun, 8 Apr 2012 18:03:17 +0000 (20:03 +0200)]
Be more helpful when requested compression is not available

12 years agoError out on unknown initrd compression, reported by Peter Gantner (bug #411197)
Sebastian Pipping [Sun, 8 Apr 2012 17:42:15 +0000 (19:42 +0200)]
Error out on unknown initrd compression, reported by Peter Gantner (bug #411197)

12 years agoFix initrd compression "gzip", reported by Peter Gantner (bug #411197)
Sebastian Pipping [Sun, 8 Apr 2012 17:41:34 +0000 (19:41 +0200)]
Fix initrd compression "gzip", reported by Peter Gantner (bug #411197)

12 years agoBump version to 3.4.28 v3.4.28
Sebastian Pipping [Fri, 30 Mar 2012 17:54:32 +0000 (19:54 +0200)]
Bump version to 3.4.28

12 years agoMerge branch 'fix-docache'
Sebastian Pipping [Fri, 30 Mar 2012 17:32:40 +0000 (19:32 +0200)]
Merge branch 'fix-docache'

Conflicts:
ChangeLog

12 years agoMerge branch 'bug-410073'
Sebastian Pipping [Fri, 30 Mar 2012 17:29:14 +0000 (19:29 +0200)]
Merge branch 'bug-410073'

12 years agoRestore original /dev/tty after GPG (bug #410073)
Sebastian Pipping [Thu, 29 Mar 2012 17:46:26 +0000 (19:46 +0200)]
Restore original /dev/tty after GPG (bug #410073)

12 years agoBump version to 3.4.27 v3.4.27
Sebastian Pipping [Thu, 22 Mar 2012 15:18:50 +0000 (16:18 +0100)]
Bump version to 3.4.27

12 years agoMerge branch 'bug-409277'
Sebastian Pipping [Thu, 22 Mar 2012 15:17:12 +0000 (16:17 +0100)]
Merge branch 'bug-409277'

12 years agoFail hard on LUKS inclusion error (bug #409277), advise about sys-fs/cryptsetup[stati...
Sebastian Pipping [Thu, 22 Mar 2012 15:07:23 +0000 (16:07 +0100)]
Fail hard on LUKS inclusion error (bug #409277), advise about sys-fs/cryptsetup[static], drop support for cryptsetup binary from /bin/

12 years agoMake errors stand out more
Sebastian Pipping [Thu, 22 Mar 2012 15:06:50 +0000 (16:06 +0100)]
Make errors stand out more

12 years agoBump version to 3.4.26 v3.4.26
Sebastian Pipping [Thu, 22 Mar 2012 03:12:27 +0000 (04:12 +0100)]
Bump version to 3.4.26

12 years agoMerge branch 'bug-405495'
Sebastian Pipping [Thu, 22 Mar 2012 03:08:30 +0000 (04:08 +0100)]
Merge branch 'bug-405495'

12 years agoLoad crypto modules automatically
Sebastian Pipping [Tue, 20 Mar 2012 03:08:18 +0000 (04:08 +0100)]
Load crypto modules automatically

12 years agoFix docache (bug #397309)
Sebastian Pipping [Sat, 17 Mar 2012 01:23:43 +0000 (02:23 +0100)]
Fix docache (bug #397309)

12 years agoDrop into debug shell when squashfs could not be mounted
Sebastian Pipping [Fri, 16 Mar 2012 22:40:14 +0000 (23:40 +0100)]
Drop into debug shell when squashfs could not be mounted

12 years agoDrop into debug shell when files could not be copied into tmpfs
Sebastian Pipping [Fri, 16 Mar 2012 22:37:52 +0000 (23:37 +0100)]
Drop into debug shell when files could not be copied into tmpfs

12 years agoImprove handling of missing /etc/fstab
Sebastian Pipping [Fri, 16 Mar 2012 22:36:30 +0000 (23:36 +0100)]
Improve handling of missing /etc/fstab

12 years agoMessage cosmetics
Sebastian Pipping [Fri, 16 Mar 2012 22:34:45 +0000 (23:34 +0100)]
Message cosmetics

12 years agoExtract function do_rundebugshell
Sebastian Pipping [Fri, 16 Mar 2012 21:13:04 +0000 (22:13 +0100)]
Extract function do_rundebugshell

12 years agoNo longer use parameter "-r" (for regex intervals) that busybox awk does not support
Sebastian Pipping [Fri, 16 Mar 2012 19:08:25 +0000 (20:08 +0100)]
No longer use parameter "-r" (for regex intervals) that busybox awk does not support

Error was:
awk: invalid option -- r

Note: regex intervals are supported by default so we can just omit "-r" here

12 years agoVerbump for enabling /usr mounting code. v3.4.25.1
Robin H. Johnson [Mon, 12 Mar 2012 19:37:45 +0000 (12:37 -0700)]
Verbump for enabling /usr mounting code.

12 years agoEnable live mounting of /usr. Was supposed to have been in 3.4.25.
Robin H. Johnson [Mon, 12 Mar 2012 19:36:35 +0000 (12:36 -0700)]
Enable live mounting of /usr. Was supposed to have been in 3.4.25.

12 years agoBump version for release. v3.4.25
Robin H. Johnson [Sat, 10 Mar 2012 21:25:13 +0000 (13:25 -0800)]
Bump version for release.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoMerge remote-tracking branch 'origin/bug-405495'
Robin H. Johnson [Sat, 10 Mar 2012 21:23:28 +0000 (13:23 -0800)]
Merge remote-tracking branch 'origin/bug-405495'

Conflicts:
ChangeLog
arch/x86_64/modules_load

12 years agoMake sure the sha256 module makes it into the initramfs (bug #405495)
Sebastian Pipping [Sat, 25 Feb 2012 00:30:55 +0000 (01:30 +0100)]
Make sure the sha256 module makes it into the initramfs (bug #405495)

12 years agoWith the new /usr mounting, if the device path that ends up in /proc/mounts ends...
Robin H. Johnson [Mon, 20 Feb 2012 06:58:10 +0000 (22:58 -0800)]
With the new /usr mounting, if the device path that ends up in /proc/mounts ends up being different than in /etc/fstab due to symlinks, mount -a will always exit 32. Avoid by resolving symlinks like util-linux does.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoFix dmraid building with LVM/device-mapper
Robin H. Johnson [Tue, 14 Feb 2012 08:31:46 +0000 (08:31 +0000)]
Fix dmraid building with LVM/device-mapper

dmraid is entirely broken if you try to use the system static
LVM/device-mapper. Instead, always build our own LVM2 for the initramfs,
using DESTDIR for cleaner install. Dead code paths for old LVM2 build
not removed yet until more users have tested.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoMore UTILS_CROSS_COMPILE prefix on strip calls.
Robin H. Johnson [Sun, 12 Feb 2012 06:47:32 +0000 (06:47 +0000)]
More UTILS_CROSS_COMPILE prefix on strip calls.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agomodules_load: include more DM and MD modules for other RAID/LVM configurations.
Robin H. Johnson [Sun, 12 Feb 2012 01:59:56 +0000 (17:59 -0800)]
modules_load: include more DM and MD modules for other RAID/LVM configurations.

X-Gentoo-Bug: 401583
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=401583
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoBug #265005: ensure CROSS_COMPILE is set for cross-compile strip calls to work.
Robin H. Johnson [Sun, 12 Feb 2012 01:50:42 +0000 (17:50 -0800)]
Bug #265005: ensure CROSS_COMPILE is set for cross-compile strip calls to work.

12 years agoBug #398467: Update dmraid. Also add other patches from Portage tree.
Robin H. Johnson [Sun, 12 Feb 2012 01:21:47 +0000 (17:21 -0800)]
Bug #398467: Update dmraid. Also add other patches from Portage tree.

12 years agodevice-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467...
Robin H. Johnson [Sun, 12 Feb 2012 01:16:27 +0000 (17:16 -0800)]
device-mapper "update". It was merged into LVM2-2.02.67 upstream in 2010. Bug #398467 is wrong for the device-mapper update.

12 years agolinuxrc /usr mounting
Robin H. Johnson [Thu, 9 Feb 2012 07:40:51 +0000 (23:40 -0800)]
linuxrc /usr mounting

Dogfooding of the /usr mount code with the matching OpenRC change to
make the mounts RW revealed some bugs and gotchas in our prior code, now
fixed and verified to work.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoEnsure default for new initramfs compression is used.
Robin H. Johnson [Mon, 6 Feb 2012 10:00:09 +0000 (10:00 +0000)]
Ensure default for new initramfs compression is used.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoBugfixes in new code branches that I didn't test fully.
Robin H. Johnson [Mon, 6 Feb 2012 09:52:55 +0000 (09:52 +0000)]
Bugfixes in new code branches that I didn't test fully.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoUpdate documentation for new initramfs compression.
Robin H. Johnson [Mon, 6 Feb 2012 09:42:21 +0000 (09:42 +0000)]
Update documentation for new initramfs compression.

12 years agoCustomizable initramfs compression based on Pentoo genkernel fork
Robin H. Johnson [Mon, 6 Feb 2012 08:33:10 +0000 (08:33 +0000)]
Customizable initramfs compression based on Pentoo genkernel fork

This implements customizable initramfs compression, based on the Pentoo
genkernel fork (SVN revs r2142, r2145, by Jens Pranaitis
<jens@chaox.net>).

New configuration option COMPRESS_INITRD_TYPE to allow manual selection,
whereas the Pentoo fork provided auto-selection based on what was
available in the kernel configuration. Auto-selection is used by
default, and is available with the argument of 'best' to the new option.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoImplement ZFS Support
Richard Yao [Sat, 28 Jan 2012 18:57:11 +0000 (13:57 -0500)]
Implement ZFS Support

This provides ZFS support, to go with the sys-fs/zfs package.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> (cleanups)
12 years agocopy_binaries, multipath: refactor for ease of use and readability.
Robin H. Johnson [Mon, 6 Feb 2012 08:05:54 +0000 (08:05 +0000)]
copy_binaries, multipath: refactor for ease of use and readability.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoFix hardcoded paths in multipath support
Richard Yao [Mon, 6 Feb 2012 08:00:32 +0000 (08:00 +0000)]
Fix hardcoded paths in multipath support

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agocopy_binaries: utility function to pick up a binary and needed libs
Richard Yao [Wed, 1 Feb 2012 03:20:49 +0000 (22:20 -0500)]
copy_binaries: utility function to pick up a binary and needed libs

The existing multipath functionality manually picks up a binary and lots
of needed libraries manually, and sometimes misses libraries if the
binary was linked against something else.

Use lddtree from app-misc/pax-utils to get all libraries with the
binary. The only ones that will be missed are those that are dlopen()ed.
cpio is used for copying to preserve directory structure.

lddtree usage replaces a larger manual function from calling ldd, that
was also vulnerable to injections.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
(commit message rewritten)

12 years agoSupport virtio devices, and provide fallback of all remaining devices.
Robin H. Johnson [Mon, 6 Feb 2012 07:50:17 +0000 (07:50 +0000)]
Support virtio devices, and provide fallback of all remaining devices.

Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
12 years agoExtend change log
Sebastian Pipping [Fri, 3 Feb 2012 14:12:25 +0000 (15:12 +0100)]
Extend change log