update: use the new matter-iso naming

This commit is contained in:
ngn 2024-08-19 02:28:55 +03:00
parent bd28c0fe73
commit d8f0e64c43

14
iso.sh
View File

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