summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJonathan Bauer2012-01-27 16:07:25 +0100
committerJonathan Bauer2012-01-27 16:07:25 +0100
commit533457229d17d1226f052c964f60c20289af1bf9 (patch)
tree7b52bc1578db7a487a59e76403627adbccec8c9d /bin
parentiso serial query (diff)
downloadusb-boot-stick-533457229d17d1226f052c964f60c20289af1bf9.tar.gz
usb-boot-stick-533457229d17d1226f052c964f60c20289af1bf9.tar.xz
usb-boot-stick-533457229d17d1226f052c964f60c20289af1bf9.zip
euhm testing...
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build.initramfs-serial.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/bin/build.initramfs-serial.sh b/bin/build.initramfs-serial.sh
index e4af2d7..302168e 100755
--- a/bin/build.initramfs-serial.sh
+++ b/bin/build.initramfs-serial.sh
@@ -2,17 +2,16 @@
ROOT_DIR=$(readlink -f $(dirname $(readlink -f $0))/..)
-cd ${ROOT_DIR}/build/rootfs
echo -e "[build-initramfs-serial] \t Create initramfs-serial."
-find . | cpio --quiet -H newc -o > ../initramfs-default.cpio
+find . | cpio --quiet -H newc -o > ../initramfs-serial.cpio
cd ..
-gzip initramfs-default.cpio
+gzip initramfs-serial.cpio
-mv initramfs-default.cpio.gz initramfs-default
-INITRAMFS_SIZE=$(stat -c %s ${ROOT_DIR}/build/initramfs-default)
+mv initramfs-serial.cpio.gz initramfs-serial
+INITRAMFS_SIZE=$(stat -c %s ${ROOT_DIR}/build/initramfs-serial)
cd - > /dev/null 2>&1
-echo -e "[build-initramfs] \t New initramfs created."
-echo -e "\t\t\t Location: ${ROOT_DIR}/build/initramfs-default."
+echo -e "[build-initramfs] \t New initramfs-serial created."
+echo -e "\t\t\t Location: ${ROOT_DIR}/build/initramfs-serial."
echo -e "\t\t\t Size: ${INITRAMFS_SIZE} bytes."