summaryrefslogtreecommitdiff
path: root/build-chroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build-chroot.sh')
-rwxr-xr-xbuild-chroot.sh6
1 files changed, 6 insertions, 0 deletions
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/