more readmes

pull/23/merge
Tomas M 2017-05-18 01:47:21 -05:00
parent 08b9ac91b9
commit 1e215402a2
3 changed files with 6 additions and 1 deletions

View File

@ -15,7 +15,7 @@ LIVEKITNAME="mylinux"
# Kernel file, will be copied to your Live Kit # Kernel file, will be copied to your Live Kit
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready # Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready
# out of the box. # out of the box.
VMLINUZ=/boot/vmlinuz VMLINUZ=/vmlinuz
# Kernel version. Change it to "3.2.28" for example, if you are building # Kernel version. Change it to "3.2.28" for example, if you are building
# Live Kit with a different kernel than the one you are actually running # Live Kit with a different kernel than the one you are actually running

4
README
View File

@ -16,6 +16,10 @@ since it creates some (sym)links and such.
and reorganize isolinux.cfg to fit your needs (when editing the file, and reorganize isolinux.cfg to fit your needs (when editing the file,
keep all paths in /boot/, it will be rellocated during LiveKit creation) keep all paths in /boot/, it will be rellocated during LiveKit creation)
* Linux Live Kit comes with precompiled static binaries in ./initramfs
directory. Those may be outdated but will work. You may replace them
by your own statically linked binaries, if you know how to compile them.
* If you plan to boot your Live Kit from CD, you need to recompile * If you plan to boot your Live Kit from CD, you need to recompile
syslinux.bin else it won't be able to boot your Live Kit from directory syslinux.bin else it won't be able to boot your Live Kit from directory
LIVEKITNAME. There is a script prepared for you which will handle all LIVEKITNAME. There is a script prepared for you which will handle all

1
build
View File

@ -17,6 +17,7 @@ allow_only_root
# check for mksquashfs with xz compression # check for mksquashfs with xz compression
if [ "$(mksquashfs 2>&1 | grep "Xdict-size")" = "" ]; then if [ "$(mksquashfs 2>&1 | grep "Xdict-size")" = "" ]; then
echo "mksquashfs not found or doesn't support -comp xz, aborting, no changes made" echo "mksquashfs not found or doesn't support -comp xz, aborting, no changes made"
echo "you may consider installing squashfs-tools package"
exit 1 exit 1
fi fi