Lines 35-43
Link Here
|
35 |
[ ! -e "$clst_chroot_path/tmp/binaries/$x.tar.bz2" ] && die "Can't find kernel tarball at $clst_chroot_path/tmp/binaries/$x.tar.bz2" |
35 |
[ ! -e "$clst_chroot_path/tmp/binaries/$x.tar.bz2" ] && die "Can't find kernel tarball at $clst_chroot_path/tmp/binaries/$x.tar.bz2" |
36 |
tar xjvf $clst_chroot_path/tmp/binaries/$x.tar.bz2 -C $clst_cdroot_path/isolinux |
36 |
tar xjvf $clst_chroot_path/tmp/binaries/$x.tar.bz2 -C $clst_cdroot_path/isolinux |
37 |
#change kernel name from "kernel" to "gentoo", for example |
37 |
#change kernel name from "kernel" to "gentoo", for example |
38 |
mv $clst_cdroot_path/isolinux/kernel $clst_cdroot_path/isolinux/$x |
38 |
mv $clst_cdroot_path/isolinux/kernel* $clst_cdroot_path/isolinux/$x |
39 |
#change initrd name from "initrd" to "gentoo.igz", for example |
39 |
#change initrd name from "initrd" to "gentoo.igz", for example |
40 |
mv $clst_cdroot_path/isolinux/initrd $clst_cdroot_path/isolinux/$x.igz |
40 |
mv $clst_cdroot_path/isolinux/initrd* $clst_cdroot_path/isolinux/$x.igz |
41 |
done |
41 |
done |
42 |
icfg=$clst_cdroot_path/isolinux/isolinux.cfg |
42 |
icfg=$clst_cdroot_path/isolinux/isolinux.cfg |
43 |
kmsg=$clst_cdroot_path/isolinux/kernels.msg |
43 |
kmsg=$clst_cdroot_path/isolinux/kernels.msg |