summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-01-12 11:57:45 +0100
committerDaniel Baumann <daniel@debian.org>2012-01-12 11:57:45 +0100
commit2eab8fec682e896cd5e2c1fd48386d43ce6f0139 (patch)
tree196c56f4bc131d49fefa152bf738591bdc29bf5b
parent1ff06c2f816ccb35f9e8487b5eeb5e934237af8f (diff)
downloadvyos-live-build-2eab8fec682e896cd5e2c1fd48386d43ce6f0139.tar.gz
vyos-live-build-2eab8fec682e896cd5e2c1fd48386d43ce6f0139.zip
Correcting wrong and incompatible loop for casper initrds in binary_disk.
-rwxr-xr-xscripts/build/lb_binary_disk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_disk b/scripts/build/lb_binary_disk
index 96e223300..3f44a4b73 100755
--- a/scripts/build/lb_binary_disk
+++ b/scripts/build/lb_binary_disk
@@ -93,7 +93,7 @@ fi
case "${LB_INITRAMFS}" in
casper)
- for INITRD in $(ls binary/casper/initrd.img* > /dev/null 2>&1)
+ for INITRD in binary/casper/initrd.img*
do
mkdir -p binary/uuid
cd binary/uuid