iso/iso.sh

19 lines
431 B
Bash
Raw Normal View History

2024-01-16 20:58:24 +00:00
NAME="matterlinux"
2024-08-18 23:28:55 +00:00
VERSION="24.05"
2024-01-16 20:58:24 +00:00
EXCLUDE=("README.md" "LICENSE.txt")
KEYS=("F9E70878C2FB389AEC2BA34CA3654DF5AD9F641D")
2024-08-18 23:28:55 +00:00
# these will be included in initrd image
PKGS1=("dhcpcd" "dosfstools" "mtsc")
# these will not
2024-01-16 20:58:24 +00:00
PKGS2=("linux")
2024-08-18 23:28:55 +00:00
BUILD() {
echo "root:root" | chpasswd
systemctl preset-all
2024-01-16 20:58:24 +00:00
cp /usr/sbin/init .
sed -i "s/VERSION_HERE/${VERSION}/g" /etc/issue
sed -i "s/VERSION_HERE/${VERSION}/g" /boot/grub/grub.cfg
2024-01-16 20:58:24 +00:00
}