12 |
## |
## |
13 |
|
|
14 |
install -d ${LIVECDROOT}/install-temp |
install -d ${LIVECDROOT}/install-temp |
15 |
install -d ${CDISOROOT}/install |
install -d ${CDISOROOT}/system |
16 |
|
|
17 |
# use all settings from the global config, but the basesystem |
# use all settings from the global config, but the basesystem |
18 |
mage-bootstrap \ |
mage-bootstrap \ |
23 |
--basesystem basesystem-tiny-alx-alx |
--basesystem basesystem-tiny-alx-alx |
24 |
|
|
25 |
# create tarball |
# create tarball |
26 |
( cd ${LIVECDROOT}/install-temp; tar cvjpf ${CDISOROOT}/install/tinyalx.tar.bz2 ./ ) |
( cd ${LIVECDROOT}/install-temp; tar cvjpf ${CDISOROOT}/system/tinyalx.tar.bz2 ./ | tee log) |
27 |
|
|
28 |
|
# create images.conf |
29 |
|
echo "CDIMAGENAME=tinyalx.tar.bz2" > ${CDISOROOT}/system/images.conf |
30 |
|
echo "TOTALLINES=$(wc -l ${LIVECDROOT}/install-temp/log | cut -d' ' -f1)" >> ${CDISOROOT}/system/images.conf |
31 |
|
|
32 |
# clean up |
# clean up |
33 |
if [[ -d ${LIVECDROOT}/install-temp ]] |
if [[ -d ${LIVECDROOT}/install-temp ]] |