From 3c3b75da184f6c8236f342058230ac951ee32ffd Mon Sep 17 00:00:00 2001 From: Alexander Hill Date: Sun, 20 Apr 2025 19:58:05 -0400 Subject: [PATCH] Fixed CMake and added /etc/os-release --- build-chroot.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build-chroot.sh b/build-chroot.sh index 4a8aac9..1e79b74 100755 --- a/build-chroot.sh +++ b/build-chroot.sh @@ -140,6 +140,7 @@ tar xf ../sources/cmake-*.tar* cd cmake-*/ ./bootstrap \ --bindir=/bin \ + --datadir=/usr/share/cmake-4.0 \ --parallel=$THREADS \ --prefix=/usr \ --system-bzip2 \ @@ -608,6 +609,11 @@ echo "auth required pam_unix.so nullok" >> /etc/pam.d/system-auth echo "account required pam_unix.so" >> /etc/pam.d/system-auth echo "password required pam_unix.so nullok shadow" >> /etc/pam.d/system-auth echo "session required pam_unix.so" >> /etc/pam.d/system-auth +echo "NAME=Maple Linux" > /etc/os-release +echo "VERSION=2025" >> /etc/os-release +echo "ID=maple" >> /etc/os-release +echo "VERSION_ID=2025" >> /etc/os-release +echo "PRETTY_NAME=\"Maple Linux\"" >> /etc/os-release # Finally, make the image bootable. cp /usr/share/limine/BOOTX64.EFI /boot/EFI/BOOT/