From e036ddcfbc84deb6d6584ba77b9a01a2c6c55689 Mon Sep 17 00:00:00 2001 From: sergiotarxz Date: Thu, 5 May 2022 02:11:13 +0200 Subject: [PATCH] First commit on the initramfs generation. --- core/etc/conf.d/display-manager | 13 ------------- core/etc/conf.d/hostname | 2 -- core/etc/portage/make.conf.CYCLE.1 | 3 +-- core/etc/portage/make.conf.CYCLE.2 | 1 - core/etc/portage/make.conf.CYCLE.3 | 1 - core/etc/portage/make.profile | 2 +- core/etc/portage/repos.conf/sergiotarxz.conf | 5 ----- core/var/lib/portage/world.CYCLE.2 | 6 +----- core/var/lib/portage/world.CYCLE.3 | 6 +----- scripts/clean.sh | 1 + 10 files changed, 5 insertions(+), 35 deletions(-) delete mode 100644 core/etc/conf.d/display-manager delete mode 100644 core/etc/conf.d/hostname delete mode 100644 core/etc/portage/repos.conf/sergiotarxz.conf diff --git a/core/etc/conf.d/display-manager b/core/etc/conf.d/display-manager deleted file mode 100644 index ab9e88a..0000000 --- a/core/etc/conf.d/display-manager +++ /dev/null @@ -1,13 +0,0 @@ -# We always try and start the DM on a static VT. The various DMs normally -# default to using VT7. If you wish to use the display-manager init -# script, then you should ensure that the VT checked is the same VT your -# DM wants to use. -# We do this check to ensure that you haven't accidentally configured -# something to run on the VT in your /etc/inittab file so that -# you don't get a dead keyboard. -CHECKVT=7 - -# What display manager do you use ? -# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ] -# NOTE: If this is set in /etc/rc.conf, that setting will override this one. -DISPLAYMANAGER="gdm" diff --git a/core/etc/conf.d/hostname b/core/etc/conf.d/hostname deleted file mode 100644 index 81ccf25..0000000 --- a/core/etc/conf.d/hostname +++ /dev/null @@ -1,2 +0,0 @@ -# Set to the hostname of this machine -hostname="immutable-gentoo" diff --git a/core/etc/portage/make.conf.CYCLE.1 b/core/etc/portage/make.conf.CYCLE.1 index f48aa3f..508d004 100644 --- a/core/etc/portage/make.conf.CYCLE.1 +++ b/core/etc/portage/make.conf.CYCLE.1 @@ -1,10 +1,9 @@ -COMMON_FLAGS="-mtune=native -O2" +COMMON_FLAGS="-O2" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" MAKEOPTS="-j1" -USE="screencast" PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" diff --git a/core/etc/portage/make.conf.CYCLE.2 b/core/etc/portage/make.conf.CYCLE.2 index 6d6a78b..508d004 100644 --- a/core/etc/portage/make.conf.CYCLE.2 +++ b/core/etc/portage/make.conf.CYCLE.2 @@ -4,7 +4,6 @@ CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" MAKEOPTS="-j1" -USE="screencast" PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" diff --git a/core/etc/portage/make.conf.CYCLE.3 b/core/etc/portage/make.conf.CYCLE.3 index 6d6a78b..508d004 100644 --- a/core/etc/portage/make.conf.CYCLE.3 +++ b/core/etc/portage/make.conf.CYCLE.3 @@ -4,7 +4,6 @@ CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" MAKEOPTS="-j1" -USE="screencast" PORTDIR="/var/db/repos/gentoo" DISTDIR="/var/cache/distfiles" diff --git a/core/etc/portage/make.profile b/core/etc/portage/make.profile index c4e45d6..4cdbe38 120000 --- a/core/etc/portage/make.profile +++ b/core/etc/portage/make.profile @@ -1 +1 @@ -../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/desktop/gnome \ No newline at end of file +../../var/db/repos/gentoo/profiles/default/linux/amd64/17.0/ \ No newline at end of file diff --git a/core/etc/portage/repos.conf/sergiotarxz.conf b/core/etc/portage/repos.conf/sergiotarxz.conf deleted file mode 100644 index b7686de..0000000 --- a/core/etc/portage/repos.conf/sergiotarxz.conf +++ /dev/null @@ -1,5 +0,0 @@ -[sergiotarxz] -location = /var/db/repos/sergiotarxz -sync-type = git -sync-uri = https://gitea.sergiotarxz.freemyip.com/sergiotarxz/sergiotarxz-overlay.git -masters = gentoo diff --git a/core/var/lib/portage/world.CYCLE.2 b/core/var/lib/portage/world.CYCLE.2 index a45eb65..a417189 100644 --- a/core/var/lib/portage/world.CYCLE.2 +++ b/core/var/lib/portage/world.CYCLE.2 @@ -1,5 +1 @@ -gnome-base/gnome -app-editors/vim -sys-process/cronie -app-admin/syslog-ng -app-admin/sudo +sys-fs/cryptsetup diff --git a/core/var/lib/portage/world.CYCLE.3 b/core/var/lib/portage/world.CYCLE.3 index a45eb65..a417189 100644 --- a/core/var/lib/portage/world.CYCLE.3 +++ b/core/var/lib/portage/world.CYCLE.3 @@ -1,5 +1 @@ -gnome-base/gnome -app-editors/vim -sys-process/cronie -app-admin/syslog-ng -app-admin/sudo +sys-fs/cryptsetup diff --git a/scripts/clean.sh b/scripts/clean.sh index 6e7b18d..d9c932c 100644 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,5 +1,6 @@ #!/bin/bash -e +emerge --depclean virtual/editor virtual/man virtual/pager sys-apps/man-pages sys-devel/binutils sys-devel/gcc sys-devel/patch sys-devel/make sys-apps/less sys-devel/gnuconfig sys-apps/diffutils rm -rf /tmp/* rm -rf /var/tmp find /var/log -type f -delete