diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-03 15:49:57 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2015-05-03 15:50:03 +0200 |
commit | f93e83e351193a93c0a529798f7d01997c9d0909 (patch) | |
tree | 0c3e3f208ece70f489b7cada15629f9b392a611f /scripts/build/binary_disk | |
parent | d18cb12cc1904ce9c575b88bf2403ec70ce2c90e (diff) | |
download | vyos-live-build-f93e83e351193a93c0a529798f7d01997c9d0909.tar.gz vyos-live-build-f93e83e351193a93c0a529798f7d01997c9d0909.zip |
Dropping automagics for casper.
Future live-build versions will still allow to use casper,
but its configuration will be done differently by hooks
in the config tree, rather than embedded and maintenance intensive
code in live-build itself.
Diffstat (limited to 'scripts/build/binary_disk')
-rwxr-xr-x | scripts/build/binary_disk | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/scripts/build/binary_disk b/scripts/build/binary_disk index 5dce94123..066f4f135 100755 --- a/scripts/build/binary_disk +++ b/scripts/build/binary_disk @@ -97,40 +97,6 @@ then esac fi -case "${LB_INITRAMFS}" in - casper) - for INITRD in binary/casper/initrd.img* - do - mkdir -p binary/uuid - cd binary/uuid - - case "${LB_INITRAMFS_COMPRESSION}" in - gzip) - zcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf - ;; - - bzip2) - bzcat "../../${INITRD}" | cpio --quiet -id conf/uuid.conf - ;; - - lzma) - lzcat -S "" "../../${INITRD}" | cpio --quiet -id conf/uuid.conf - ;; - esac - - if [ -e conf/uuid.conf ] - then - mv conf/uuid.conf "../.disk/casper-uuid${INITRD#binary/casper/initrd.img}" - else - Echo_warning "Failed to find casper uuid.conf in '${INITRD}'" - fi - - cd ${OLDPWD} - rm -rf binary/uuid - done - ;; -esac - case "${LB_DEBIAN_INSTALLER}" in cdrom) echo "main" > binary/.disk/base_components |