I am getting these Two lines 112 and 113 errors when running this shell script, any idea what is wrong with this script, also I have HTML link for full script, I pointed to 2.6.x code:
GEN usr/initramfs_data. cpio.gz
Linux-2.6.20.21/scripts/gen_initramfs_l ist.sh line:112 [: ../temp/rootfs/lib/libblk.so.1.1 integer expression expected
Linux-2.6.20.21/scripts/gen_initramfs_l ist.sh line:113 [: ../temp/rootfs/lib/libblk.so.1.1 integer expression expected
gen_initramfs_l ist.sh lines 112 and 113
--------------------------------------------------
[ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0
[ "$root_gid" = "squash" ] && gid=0 || [ "$gid" -eq "$root_gid" ] && gid=0
http://lxr.free-electrons.com/source/scripts/gen_initramfs_l ist.sh
GEN usr/initramfs_data. cpio.gz
Linux-2.6.20.21/scripts/gen_initramfs_l ist.sh line:112 [: ../temp/rootfs/lib/libblk.so.1.1 integer expression expected
Linux-2.6.20.21/scripts/gen_initramfs_l ist.sh line:113 [: ../temp/rootfs/lib/libblk.so.1.1 integer expression expected
gen_initramfs_l ist.sh lines 112 and 113
--------------------------------------------------
[ "$root_uid" = "squash" ] && uid=0 || [ "$uid" -eq "$root_uid" ] && uid=0
[ "$root_gid" = "squash" ] && gid=0 || [ "$gid" -eq "$root_gid" ] && gid=0
http://lxr.free-electrons.com/source/scripts/gen_initramfs_l ist.sh
Comment