Compare commits

..

10 Commits

Author SHA1 Message Date
ngn
777a1f1cbc update: dynamic version holder for /etc/issue 2024-08-25 22:40:43 +03:00
ngn
ab7aa67da4 fix: migrate to matt configuration 2024-08-25 22:26:45 +03:00
ngn
d8f0e64c43 update: use the new matter-iso naming 2024-08-19 02:29:21 +03:00
ngn
bd28c0fe73 new: dynamic grub boot option 2024-05-06 22:28:45 +03:00
ngn
faccb3b101 update: Get the config ready for 24.04 release ISO 2024-05-06 22:13:29 +03:00
ngn
6661a06335 update: Getting the iso configuration ready for 24.03 2024-03-24 13:17:01 +03:00
ngn
4b2324810f update: 24.01 ISO configuration 2024-02-23 22:05:40 +03:00
ngn
c7681c2e10 Removing skel copy 2024-01-18 18:12:57 +03:00
ngn
059d0a787b removing systemd-machine-id-setup 2024-01-18 17:19:18 +03:00
ngn
7490f68916 Adding mp config 2024-01-18 15:43:52 +03:00
10 changed files with 51 additions and 14 deletions
boot/grub
etc
issue
matt
systemd
system
getty@tty1.service.d
getty@tty2.service.d
getty@tty3.service.d
getty@tty4.service.d
getty@tty5.service.d
getty@tty6.service.d
iso.sh

@ -10,7 +10,7 @@ then
terminal_output gfxterm
fi
menuentry 'MatterLinux ISO' --class os {
menuentry 'MatterLinux VERSION_HERE ISO' --class os {
insmod gzio
insmod part_msdos
linux /boot/vmlinuz-linux loglevel=3

@ -3,15 +3,13 @@
MMMMMMMMMMMMMMMMMMMM
MMMM MMMM MMMM
MMMM MMMM MMMM
MMMM MMMM MMMM Welcome to \e[32mMatterLinux 24\e[0m\e[1m!
MMMM MMMM MMMM Welcome to \e[32mMatterLinux VERSION_HERE\e[0m\e[1m!
MMMM MMMM MMMM \e[37mKernel:\e[0m\e[1m \r \e[37mArch:\e[0m\e[1m \m \e[37mTTY:\e[0m\e[1m \l
MMMM MMMM MMMM
MMMM MMMM MMMM
\e[34m>>>\e[0m\e[1m Login with root:root
\e[34m>>>\e[0m\e[1m Sync before installing packages: mp-sync
\e[34m>>>\e[0m\e[1m Sync before installing packages: matt sync
\e[34m>>>\e[0m\e[1m For installation: https://matterlinux.xyz/wiki/install
\e[34m>>>\e[0m\e[1m Join XMPP for questions: general@conf.matterlinux.xyz
\e[34m>>>\e[0m\e[1m For questions/chat: https://matterlinux.xyz/wiki/chat
Happy hacking!
\e[0m
Happy hacking!\e[0m

17
etc/matt/config.ini Normal file

@ -0,0 +1,17 @@
# configuration file for matt, please see the wiki page for more information
# https://matterlinux.xyz/wiki/matt
tmpdir = /var/lib/matt/temp
datadir = /var/lib/matt/data
[base]
url = mptp://stable.matterlinux.xyz/base
# url = mptp://next.matterlinux.xyz/base
[desktop]
# url = mptp://stable.matterlinux.xyz/desktop
# url = mptp://next.matterlinux.xyz/desktop
[server]
# url = mptp://stable.matterlinux.xyz/server
# url = mptp://next.matterlinux.xyz/server

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

@ -0,0 +1,3 @@
[Service]
ExecStart=
ExecStart=-/usr/sbin/agetty --skip-login --nonewline --autologin root --noclear %I $TERM

14
iso.sh

@ -1,14 +1,18 @@
NAME="matterlinux"
VERSION="24.00"
VERSION="24.05"
EXCLUDE=("README.md" "LICENSE.txt")
KEYS=("F9E70878C2FB389AEC2BA34CA3654DF5AD9F641D")
PKGS1=("systemd" "dhcpcd")
# these will be included in initrd image
PKGS1=("dhcpcd" "dosfstools" "mtsc")
# these will not
PKGS2=("linux")
build() {
BUILD() {
echo "root:root" | chpasswd
systemd-machine-id-setup
systemctl preset-all
cp /etc/skel/.* /root
cp /usr/sbin/init .
sed -i "s/VERSION_HERE/${VERSION}/g" /etc/issue
sed -i "s/VERSION_HERE/${VERSION}/g" /boot/grub/grub.cfg
}