Skip to content

Commit e51ed0b

Browse files
committed
Removed Gentoo bootstrap
1 parent 8385fb4 commit e51ed0b

File tree

14 files changed

+2
-193
lines changed

14 files changed

+2
-193
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Help for the parameters of the main components:
5858

5959
```
6060
--distrib="debian"
61-
The code name of Linux distribution, which will be installed. Supported "debian", "ubuntu", "kali", "fedora", "centos", "archlinux", "gentoo", "slackware".
61+
The code name of Linux distribution, which will be installed. Supported "debian", "ubuntu", "kali", "fedora", "centos", "archlinux", "slackware", "apline".
6262
6363
--target-type="file"
6464
The container deployment type, can specify "file", "directory", "partition", "ram" or "custom".

include/bootstrap/archlinux/deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ do_install()
6868
is_ok "fail" "done" || return 1
6969

7070
msg -n "Retrieving packages list ... "
71-
local core_files=$(wget -q -O - "${repo_url}/core.db.tar.gz" | tar xOz | grep '.pkg.tar.xz$' | grep -v -e '^linux-' -e '^grub-' -e '^efibootmgr-' -e '^gcc-' -e '^openssh-' | sort)
71+
local core_files=$(wget -q -O - "${repo_url}/core.db.tar.gz" | tar xOz | grep '.pkg.tar.xz$' | grep -v -e '^linux-' -e '^grub-' -e '^efibootmgr-' -e '^openssh-' | sort)
7272
is_ok "fail" "done" || return 1
7373

7474
msg "Retrieving core packages: "

include/bootstrap/centos/deploy.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ do_install()
6868
local base_packages="audit-libs basesystem bash bzip2-libs ca-certificates chkconfig coreutils cpio cracklib cracklib-dicts cryptsetup-libs curl cyrus-sasl-lib dbus dbus-libs diffutils elfutils-libelf elfutils-libs expat file-libs filesystem gawk gdbm glib2 glibc glibc-common gmp gnupg2 gpgme grep gzip info keyutils-libs kmod kmod-libs krb5-libs libacl libassuan libattr libblkid libcap libcap-ng libcom_err libcurl libdb libdb-utils libffi libgcc libgcrypt libgpg-error libidn libmount libpwquality libselinux libsemanage libsepol libssh2 libstdc++ libtasn1 libuuid libverto libxml2 lua lz4 ncurses ncurses-base ncurses-libs nspr nss nss-pem nss-softokn nss-softokn-freebl nss-sysinit nss-tools nss-util openldap openssl-libs p11-kit p11-kit-trust pam pcre pinentry pkgconfig popt pth pygpgme pyliblzma python python-iniparse python-libs python-pycurl python-urlgrabber pyxattr qrencode-libs readline rootfiles rpm rpm-build-libs rpm-libs rpm-python sed setup shadow-utils shared-mime-info sqlite sudo systemd systemd-libs tzdata ustr util-linux vim-minimal which xz-libs yum yum-metadata-parser yum-plugin-fastestmirror yum-utils zlib"
6969
local repo_url="${SOURCE_PATH%/}/${SUITE}/os/${ARCH}"
7070

71-
msg "URL: ${repo_url}"
72-
7371
msg -n "Preparing for deployment ... "
7472
tar xzf "${COMPONENT_DIR}/filesystem.tgz" -C "${CHROOT_DIR}"
7573
is_ok "fail" "done" || return 1

include/bootstrap/gentoo/deploy.conf

Lines changed: 0 additions & 6 deletions
This file was deleted.

include/bootstrap/gentoo/deploy.sh

Lines changed: 0 additions & 120 deletions
This file was deleted.

include/desktop/dbus/deploy.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ do_install()
2323
packages="dbus"
2424
yum_install ${packages}
2525
;;
26-
gentoo:*)
27-
packages="sys-apps/dbus"
28-
emerge_install ${packages}
29-
;;
30-
alpine:*)
31-
packages="dbus"
32-
apk_install ${packages}
33-
;;
3426
esac
3527
}
3628

include/desktop/lxde/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ do_install()
1919
packages="xorg-x11-server-utils xorg-x11-fonts-misc dejavu-* @lxde-desktop-environment"
2020
dnf_install ${packages}
2121
;;
22-
gentoo:*)
23-
packages="x11-apps/xauth x11-themes/gtk-engines lxde-base/lxde-meta"
24-
emerge_install ${packages}
25-
;;
2622
esac
2723
}
2824

include/desktop/mate/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ do_install()
1919
packages="xorg-x11-server-utils xorg-x11-fonts-misc dejavu-* @mate-desktop-environment"
2020
dnf_install ${packages}
2121
;;
22-
gentoo:*)
23-
packages="x11-apps/xauth mate-base/mate"
24-
emerge_install ${packages}
25-
;;
2622
esac
2723
}
2824

include/desktop/xfce/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ do_install()
1919
packages="xorg-x11-server-utils xorg-x11-fonts-misc dejavu-* @xfce-desktop-environment"
2020
dnf_install ${packages}
2121
;;
22-
gentoo:*)
23-
packages="x11-apps/xauth xfce-base/xfce4-meta"
24-
emerge_install ${packages}
25-
;;
2622
esac
2723
}
2824

include/desktop/xterm/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ do_install()
2323
packages="xorg-x11-server-utils xorg-x11-fonts-misc dejavu-* xterm"
2424
yum_install ${packages}
2525
;;
26-
gentoo:*)
27-
packages="x11-apps/xauth x11-terms/xterm"
28-
emerge_install ${packages}
29-
;;
3026
esac
3127
}
3228

include/extra/pulse/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ do_install()
2626
packages="alsa-plugins-pulseaudio"
2727
yum_install ${packages}
2828
;;
29-
gentoo:*)
30-
packages="media-plugins/alsa-plugins"
31-
emerge_install ${packages}
32-
;;
3329
esac
3430
}
3531

include/extra/ssh/deploy.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,6 @@ do_install()
2626
packages="openssh-server"
2727
yum_install ${packages}
2828
;;
29-
gentoo:*)
30-
packages="net-misc/openssh"
31-
emerge_install ${packages}
32-
;;
3329
slackware:*)
3430
packages="openssh"
3531
slackpkg_install ${packages}

include/graphics/fb/deploy.sh

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ do_install()
2727
packages="xorg-x11-xinit xorg-x11-server-Xorg xorg-x11-drv-fbdev xorg-x11-drv-evdev"
2828
yum_install ${packages}
2929
;;
30-
gentoo:*)
31-
packages="xinit xorg-server"
32-
emerge_install ${packages}
33-
;;
3430
esac
3531
}
3632

@@ -60,22 +56,6 @@ do_configure()
6056
if [ -n "${FB_INPUT}" ]; then
6157
sed -i "s|Option.*FB_INPUT|Option \"Device\" \"${FB_INPUT}\" # FB_INPUT|g" "${xorg_file}"
6258
fi
63-
# specific configuration
64-
case "${DISTRIB}" in
65-
gentoo)
66-
# set Xorg make configuration
67-
if $(grep -q '^INPUT_DEVICES=' "${CHROOT_DIR}/etc/portage/make.conf"); then
68-
sed -i 's|^\(INPUT_DEVICES=\).*|\1"evdev"|g' "${CHROOT_DIR}/etc/portage/make.conf"
69-
else
70-
echo 'INPUT_DEVICES="evdev"' >> "${CHROOT_DIR}/etc/portage/make.conf"
71-
fi
72-
if $(grep -q '^VIDEO_CARDS=' "${CHROOT_DIR}/etc/portage/make.conf"); then
73-
sed -i 's|^\(VIDEO_CARDS=\).*|\1"fbdev"|g' "${CHROOT_DIR}/etc/portage/make.conf"
74-
else
75-
echo 'VIDEO_CARDS="fbdev"' >> "${CHROOT_DIR}/etc/portage/make.conf"
76-
fi
77-
;;
78-
esac
7959
return 0
8060
}
8161

include/graphics/vnc/deploy.sh

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@ do_install()
3030
packages="tigervnc-server"
3131
yum_install ${packages}
3232
;;
33-
gentoo:*)
34-
# set server USE flag for tightvnc
35-
if ! $(grep -q '^net-misc/tightvnc' "${CHROOT_DIR}/etc/portage/package.use"); then
36-
echo "net-misc/tightvnc server" >> "${CHROOT_DIR}/etc/portage/package.use"
37-
fi
38-
if ! $(grep -q '^net-misc/tightvnc.*server' "${CHROOT_DIR}/etc/portage/package.use"); then
39-
sed -i "s|^\(net-misc/tightvnc.*\)|\1 server|g" "${CHROOT_DIR}/etc/portage/package.use"
40-
fi
41-
packages="tightvnc"
42-
emerge_install ${packages}
43-
;;
4433
esac
4534
}
4635

0 commit comments

Comments
 (0)