From 8fbf0baee6a6b82876d43cef4abc34d021252d25 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 4 Nov 2017 06:12:14 +0000 Subject: add Makefile --- src/frontend/cli/vasile | 48 ---------------------------------------------- src/frontend/cli/vasile.sh | 47 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 48 deletions(-) delete mode 100755 src/frontend/cli/vasile create mode 100755 src/frontend/cli/vasile.sh (limited to 'src/frontend/cli') diff --git a/src/frontend/cli/vasile b/src/frontend/cli/vasile deleted file mode 100755 index d64b617..0000000 --- a/src/frontend/cli/vasile +++ /dev/null @@ -1,48 +0,0 @@ -#!/usr/bin/env bash -# Say Hello to Vasile, a modular script to build Redcore Linux packages && ISO images using a clean squashfs + overlayfs chroot -# Main author : Ghiunhan Mamut (aka V3n3RiX) -# Dependencies : kernel built with squashfs + overlayfs + loopback support && sys-fs/grub:2 && sys-fs/squashfs-tools && dev-libs/libisoburn && sys-fs/mtools -# - -# Import our variables and functions - -source /usr/lib/vasile/libvasile - -# Vasile need root privileges and a proper kernel to run -# Also, running it in live mode is a really bad idea - -checkiflive -kernelconfig - - -case $1 in - --makepkg) - makepkg - ;; - --makeiso) - makeiso - ;; - --resetmode) - resetmode - ;; - --binmode) - binmode - ;; - --mixedmode) - mixedmode - ;; - --srcmode) - srcmode - ;; - --dkms) - dkmsmod - ;; - --help) - showhelp - ;; - *) - eerror "error: no operation specified, use --help for help" - ;; -esac - -exit 0 diff --git a/src/frontend/cli/vasile.sh b/src/frontend/cli/vasile.sh new file mode 100755 index 0000000..aeb27b3 --- /dev/null +++ b/src/frontend/cli/vasile.sh @@ -0,0 +1,47 @@ +#!/usr/bin/env bash +# Say Hello to Vasile, a modular script to build Redcore Linux packages && ISO images using a clean squashfs + overlayfs chroot +# Main author : Ghiunhan Mamut (aka V3n3RiX) +# Dependencies : kernel built with squashfs + overlayfs + loopback support && sys-fs/grub:2 && sys-fs/squashfs-tools && dev-libs/libisoburn && sys-fs/mtools +# + +# Import our variables and functions + +source /usr/lib/vasile/f_import.sh + +# Vasile need root privileges and a proper kernel to run +# Also, running it in live mode is a really bad idea + +checkiflive +checkkerncfg + +case $1 in + --makepkg) + makepkg + ;; + --makeiso) + makeiso + ;; + --resetmode) + resetmode + ;; + --binmode) + binmode + ;; + --mixedmode) + mixedmode + ;; + --srcmode) + srcmode + ;; + --dkms) + dkmsmod + ;; + --help) + showhelp + ;; + *) + eerror "error: no operation specified, use --help for help" + ;; +esac + +exit 0 -- cgit v1.2.3