22 lines
457 B
Bash
Executable File
22 lines
457 B
Bash
Executable File
#!/bin/bash
|
|
# Linux Live Kit version 7
|
|
|
|
export PATH=.:./tools:../tools:/usr/sbin:/usr/bin:/sbin:/bin:/
|
|
|
|
CHANGEDIR=$(dirname $(readlink -f $0))
|
|
echo "Changing current directory to $CHANGEDIR"
|
|
cd $CHANGEDIR
|
|
|
|
. ./.config || exit 1
|
|
. ./tools/linuxkitlib || exit 1
|
|
|
|
# only root can continue, because only root can read all files from your system
|
|
allow_only_root
|
|
|
|
# find necessary tools (mksquashfs, namely)
|
|
|
|
# build initramfs image
|
|
|
|
# create compressed bundles
|
|
|