mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-10 13:25:25 +01:00
Add options for;
- disk to be created (blank disk given to live-bootstrap) (default) - disk to already exist but sources downloaded within live-bootstrap - sources to be downloaded outside live-bootstrap (non-blank disk given to live-bootstrap) Also migrate sysb to use sys_transfer in QEMU mode also. Note that this means copy_sysc is now irrelevant. sysc is *always* sourced from sysa.
This commit is contained in:
parent
6ea1b8e295
commit
0ce50a6393
9 changed files with 219 additions and 51 deletions
26
sysb/init
26
sysb/init
|
|
@ -7,7 +7,31 @@
|
|||
|
||||
set -e
|
||||
|
||||
. /usr/src/helpers.sh
|
||||
|
||||
export PATH=/usr/bin
|
||||
export PREFIX=/usr
|
||||
export SOURCES=/usr/src
|
||||
|
||||
echo
|
||||
echo "Installing packages into sysb"
|
||||
|
||||
install_tar() {
|
||||
echo "${1}: installing package"
|
||||
src_apply_tar "$@"
|
||||
}
|
||||
|
||||
# Install needed packages.
|
||||
install_tar coreutils-5.0 0
|
||||
install_tar sed-4.0.9 0
|
||||
|
||||
install_tar bzip2-1.0.8 0
|
||||
install_tar coreutils-6.10 0
|
||||
install_tar e2fsprogs-1.45.7 0
|
||||
install_tar grep-2.4 0
|
||||
install_tar kexec-tools-2.0.22 0
|
||||
install_tar util-linux-2.19.1 0
|
||||
|
||||
# Begin sysb bootstrapping process
|
||||
mv ./run.sh /usr/src
|
||||
cd /usr/src
|
||||
./run.sh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue