diff options
author | Marco Amadori <amadorim@vdavda.com> | 2008-09-16 10:55:22 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:48:02 +0100 |
commit | 4a165b794d37cf495f2c4d0213caba38eb8622d7 (patch) | |
tree | 886dc9a5bc7c5caae717fbdccb64ce2f45178ad5 /hooks | |
parent | 44ed93e9a7fafb96bd0f4f937ae369e963bd3420 (diff) | |
download | live-boot-4a165b794d37cf495f2c4d0213caba38eb8622d7.tar.gz live-boot-4a165b794d37cf495f2c4d0213caba38eb8622d7.zip |
Add real cpio to initramfs for snapshot's uses.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/live | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -128,6 +128,15 @@ fi # Program: md5sum copy_exec /usr/bin/md5sum /bin +# Program: cpio +# busybox and klibc lacks --no-absolute-filenames and --sparse, needed for snapshots +if [ -e "${DESTDIR}/bin/cpio" ] +then + # Override already present cpio's, mostly klibc's + rm "${DESTDIR}/bin/cpio" +fi +copy_exec /bin/cpio /bin + # Program: udev if [ -x /sbin/udevadm ] then |