summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-11-27 16:42:04 +0000
committerV3n3RiX <venerix@rogentos.ro>2015-11-27 16:42:04 +0000
commit653a4ad3faad77f41d52674a5de96c4955eb4caf (patch)
treef10876784bf4396f6ebd560e72e15845c08ee86c
parent53c7157aef4e8342ef49ff6174cbbd5ab4f987b6 (diff)
add new functions to libvasile : coresetup - this should produce a very minimal bootable image which can be expanded with our targets
-rwxr-xr-xlibvasile18
1 files 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 #"