aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos.K <freedomrfox@gmail.com>2017-08-28 16:23:12 +0300
committerChristos.K <freedomrfox@gmail.com>2017-08-28 16:23:12 +0300
commit87f1ef310d4fea2e73bacd566eeaac51b31ccc40 (patch)
treef059071ab63dc377486c9e2db82fc9fe52cbb912
parentDefault sinprog (diff)
downloadGSE-87f1ef310d4fea2e73bacd566eeaac51b31ccc40.tar.gz
GSE-87f1ef310d4fea2e73bacd566eeaac51b31ccc40.tar.bz2
GSE-87f1ef310d4fea2e73bacd566eeaac51b31ccc40.zip
Not used
-rwxr-xr-xscripts/controller24
-rwxr-xr-xscripts/functions/local_rbuild36
2 files changed, 0 insertions, 60 deletions
diff --git a/scripts/controller b/scripts/controller
deleted file mode 100755
index d26721c..0000000
--- a/scripts/controller
+++ /dev/null
@@ -1,24 +0,0 @@
-#!/bin/bash
-
-_ct_conf() {
- _ct_arg_ar=("include" "cmdline" "hook" "net" "module-probe" \
- "module-insmod" "module-auto" "module-blacklist" "dracut_opt")
- if grep -q "force" "${CTCONFDIR}/confdir/cdevname.info" | sed '/^#/ d' | sed '/^\s*$/d'; then
- _controller_args '--force'
- fi
-
- for i in "${_ct_arg_ar[@]}"; do
- if grep -q "$i" "${CTCONFDIR}/confdir/cdevname.info" | sed '/^#/ d' | sed '/^\s*$/d' | awk -F '=' '{ print $2 }'; then
- _TMPR099="$(grep "$i" "${CTCONFDIR}/confdir/cdevname.info" | sed '/^#/ d' | sed '/^\s*$/d' | awk -F '=' '{ print $2 }')"
- _controller_args "${_TMPR099}"
- fi
- done
-}
-
-
-_make_image() {
- dracut --force --show-modules --printsize --nostrip --early-microcode \
- --fscks "fsck.btrfs fsck.ext4 fsck.fat fsck.hfs fsck.hfsplus fsck.jfs fsck.minix fsck.reiser4 fsck.reiserfs fsck.vfat fsck.xfs" \
- --filesystems "btrfs ext4 fat hfs hfsplus jfs minix reiser4 reiserfs vfat xfs" \
- "${CDISTDIR}/initramfs-${GSEVER}-4.9.16-gentoo"
-} \ No newline at end of file
diff --git a/scripts/functions/local_rbuild b/scripts/functions/local_rbuild
deleted file mode 100755
index 7e44631..0000000
--- a/scripts/functions/local_rbuild
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/bin/bash
-
-mkdir -p "${CDISTDIR}/workdir"
-MKCORES=$(( $(grep -c ^processor /proc/cpuinfo) + 1 ))
-source "${CCONFDIR}/system/coptions"
-mkdir -p "${CDISTDIR}/workdir/usr/portage"
-mkdir -p "${CDISTDIR}/workdir/etc/portage"
-mkdir -p "${CDISTDIR}/workdir/etc/portage/repos.conf"
-
-rsync -aAXPrh --exclude="-*" --include={"bin","make.conf.catalyst","postsync.d","repo.postsync.d","savedconfig","package.mask"} \
-"/etc/portage/" "${CDISTDIR}/workdir/etc/portage/" >/dev/null 2>&1
-rsync -aAXPrh "/usr/portage/profiles/" "${CDISTDIR}/workdir/usr/portage/profiles" >/dev/null 2>&1
-
-cp "${CCONFDIR}/system/portage/makeconf.backup" "${CDISTDIR}/workdir/etc/portage/make.conf"
-cp "/usr/share/portage/config/repos.conf" "${CDISTDIR}/workdir/etc/portage/repos.conf/gentoo.conf"
-
-ln -s "${CDISTDIR}/workdir/usr/portage/profiles/default/linux/amd64/13.0" "${CDISTDIR}/workdir/etc/portage/make.profile"
-
-declare -a ARRAYCBASE
-
-ARRAYCBASE=("sys-apps/baselayout" "app-arch/bzip2" "app-arch/gzip" "app-arch/tar" "app-arch/xz-utils" "app-shells/bash:0" \
-"net-misc/iputils" "net-misc/rsync" "net-misc/wget" "sys-apps/coreutils" "sys-apps/diffutils" "sys-apps/file" ">=sys-apps/findutils-4.4" \
-"sys-apps/gawk" "sys-apps/grep" "sys-apps/kbd" "sys-apps/less" "sys-apps/openrc" "sys-process/procps" "sys-process/psmisc" "sys-apps/sed" \
-"sys-apps/which" "sys-devel/binutils" "sys-devel/gcc" "sys-devel/gnuconfig" "sys-devel/make" ">=sys-devel/patch-2.7" "sys-fs/e2fsprogs" \
-"sys-fs/e2fsprogs" "virtual/dev-manager" "virtual/editor" "virtual/libc" "virtual/man" "virtual/modutils" "virtual/os-headers" "virtual/package-manager" \
-"virtual/pager" "virtual/pager" "virtual/service-manager" "virtual/service-manager" "virtual/shadow" "virtual/ssh")
-echo -e "\e[34mBasic system\e[0m"
-
-for i in "${ARRAYCBASE[@]}"; do
-PORTAGE_CONFIGROOT="${CDISTDIR}/workdir" MAKEOPTS="-j${MKCORES}" FEATURES="${FEATURES} ${CHFEATURES}" \
-CFLAGS="-O2 -pipe" ROOT="${CDISTDIR}/workdir" emerge -q --deep --update "$i"
-done \
-&& echo -e "\e[35mUpdating @system set\e[0m" \
-&& MAKEOPTS="-j${MKCORES}" FEATURES="${FEATURES} ${CHFEATURES}" CFLAGS="-O2 -pipe" ROOT="${CDISTDIR}/workdir" emerge -q --deep --update @system \
-&& print_inf 1 || { print_inf 2 ** exit 1; }
-unset ARRAYCBASE \ No newline at end of file