Adding initial stage.

This commit is contained in:
sergiotarxz 2022-07-23 23:25:20 +02:00
parent d69e16d506
commit 53e9f4f41b
27 changed files with 190 additions and 0 deletions

50
build Normal file
View File

@ -0,0 +1,50 @@
+log BEGIN
log stamp
log CYCLE_1
log stamp
mount
populate 1
runscript cycle.1.sh
log stamp
log CYCLE_2
log stamp
populate 2
runscript cycle.2.sh
log stamp
log CYCLE_3
log stamp
populate 3
runscript cycle.3.sh
log stamp
log Configure+Cleanup+Kernel
log stamp
runscript initrc.sh
runscript passwd.sh
runscript clean.sh
unmount
log stamp
log Tar+Hash
log stamp
tarit
hashit
+log stamp
+log Extras
+log stamp
+
+mount
+populate 4
+runscript cycle.3.sh
+unmount
+
+log stamp
+log END

View File

@ -0,0 +1,13 @@
# 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"

2
core/etc/conf.d/hostname Normal file
View File

@ -0,0 +1,2 @@
# Set to the hostname of this machine
hostname="immutable-gentoo"

View File

@ -0,0 +1,3 @@
[immutable-gentoo]
repo_uri : git://gitea.sergiotarxz.freemyip.com/sergiotarxz/grs

0
core/etc/grs/world.conf Normal file
View File

View File

@ -0,0 +1,12 @@
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"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://localhost"

View File

@ -0,0 +1,12 @@
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"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://localhost"

View File

@ -0,0 +1,12 @@
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"
PKGDIR="/var/cache/binpkgs"
PORTAGE_BINHOST="http://localhost"

View File

@ -0,0 +1 @@
../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/desktop/gnome

View File

@ -0,0 +1,9 @@
gnome-*/* ~amd64
x11-wm/mutter ~amd64
gui-libs/libadwaita ~amd64
net-libs/libnma ~amd64
net-wireless/gnome-bluetooth ~amd64
dev-libs/libgweather ~amd64
media-libs/gexiv2 ~amd64
gui-libs/libhandy ~amd64
mail-client/evolution ~amd64

View File

@ -0,0 +1,4 @@
media-libs/libsndfile minimal
media-sound/mpg123 -pulseaudio

View File

@ -0,0 +1,7 @@
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage

View File

@ -0,0 +1,5 @@
[sergiotarxz]
location = /var/db/repos/sergiotarxz
sync-type = git
sync-uri = https://gitea.sergiotarxz.freemyip.com/sergiotarxz/sergiotarxz-overlay.git
masters = gentoo

1
core/etc/resolv.conf Normal file
View File

@ -0,0 +1 @@
nameserver 1.1.1.1

View File

View File

@ -0,0 +1,5 @@
gnome-base/gnome
app-editors/vim
sys-process/cronie
app-admin/syslog-ng
app-admin/sudo

View File

@ -0,0 +1,5 @@
gnome-base/gnome
app-editors/vim
sys-process/cronie
app-admin/syslog-ng
app-admin/sudo

View File

@ -0,0 +1,5 @@
gnome-base/gnome
app-editors/vim
sys-process/cronie
app-admin/syslog-ng
app-admin/sudo

7
scripts/clean.sh Normal file
View File

@ -0,0 +1,7 @@
#!/bin/bash -e
rm -rf /tmp/*
rm -rf /var/tmp/*
find /var/log -type f -delete
rm -rf /etc/resolv.conf
rm -rf /var/cache/distfiles/*

13
scripts/cycle.1.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash -e
echo "Do nothing."
# This is just here to sync up with the other desktops systems.
# It just makes life easier when doing a 'git diff' between branches.
# But if we were to do the same thing, it would be roughly this ...
#source /etc/profile
#env-update
#emerge -b1q binutils
#emerge -b1q gcc
#emerge -b1q glibc

9
scripts/cycle.2.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash -e
source /etc/profile
env-update
emerge -b1qg portage
emerge -b1qg app-portage/grs
unset CONFIGFILE
emerge -bevqg --keep-going --verbose-conflicts --with-bdeps=y @world

9
scripts/cycle.3.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
source /etc/profile
env-update
unset CONFIGFILE
emerge -buvNDqg --keep-going --verbose-conflicts --with-bdeps=y @world
emerge --depclean
emerge -bqg --keep-going @preserved-rebuild

6
scripts/initrc.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash -e
rc-update add display-manager default
rc-update add NetworkManager default
rc-update add cronie default
rc-update add syslog-ng default

0
scripts/passwd.sh Normal file
View File