From 653a4ad3faad77f41d52674a5de96c4955eb4caf Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 27 Nov 2015 16:42:04 +0000 Subject: add new functions to libvasile : coresetup - this should produce a very minimal bootable image which can be expanded with our targets --- libvasile | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/libvasile b/libvasile index 2f4b060..330f6b0 100755 --- a/libvasile +++ b/libvasile @@ -61,6 +61,9 @@ chrootchecksumx64 () { done } +coresetupx64 () { +} + chrootstartx64 () { mount -t squashfs "$chrootx64" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then @@ -97,7 +100,7 @@ chrootstartx64 () { mount -t tmpfs -o nosuid,nodev,noexec none "$overlaydir"/tmp } -chrootoverlaysx64() { +chrootoverlaysx64 () { echo "Injecting Kogaion Linux Main Overlay into x64 environment" sleep 1 chroot "$overlaydir" su - "$chrootuser" -c "$chrootoverlay" @@ -106,7 +109,7 @@ chrootoverlaysx64() { chroot "$overlaydir" su - "$chrootuser" -c "$chrootdesktopoverlay" } -chrootbuildsystemx64() { +chrootbuildsystemx64 () { echo "Injecting Kogaion Linux x64 Buildsystem && Setting up Portage && Setting up make.conf" echo "" sleep 1 @@ -122,7 +125,7 @@ chrootbuildx64 () { chroot "$overlaydir" su - "$chrootuser" -c "$chrootbuildtarget" } -chrootx64() { +chrootx64 () { echo -e "" echo -e "#################################################################" echo -e "# ENTERING CHROOT ENV FOR YOU TO PUSH BUILT PACKAGES #" @@ -167,6 +170,9 @@ chrootchecksumx86 () { done } +coresetupx86 () { +} + chrootstartx86 () { mount -t squashfs "$chrootx86" "$rodir" if [[ "$(uname -r | cut -d . -f1,2)" = "3.14" ]] ; then @@ -203,7 +209,7 @@ chrootstartx86 () { mount -t tmpfs -o nosuid,nodev,noexec none "$overlaydir"/tmp } -chrootoverlaysx86() { +chrootoverlaysx86 () { echo "Injecting Kogaion Linux Main Overlay into x86 environment" sleep 1 linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootoverlay" @@ -212,7 +218,7 @@ chrootoverlaysx86() { linux32 chroot "$overlaydir" su - "$chrootuser" -c "$chrootdesktopoverlay" } -chrootbuildsystemx86() { +chrootbuildsystemx86 () { echo "Injecting Kogaion Linux x86 Buildsystem && Setting up Portage && Setting up make.conf" echo "" sleep 1 @@ -228,7 +234,7 @@ chrootbuildx86 () { chroot "$overlaydir" su - "$chrootuser" -c "$chrootbuildtarget" } -chrootx86() { +chrootx86 () { echo -e "" echo -e "#################################################################" echo -e "# ENTERING CHROOT ENV FOR YOU TO PUSH BUILT PACKAGES #" -- cgit v1.2.3