sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (8bfbd0681dda58e920307b08fe13d41b2a341e94)
- From: Treeve Jelbert <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
- Subject: [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (8bfbd0681dda58e920307b08fe13d41b2a341e94)
- Date: Fri, 18 Jul 2025 11:33:40 +0000
GIT changes to master grimoire by Treeve Jelbert <treeve AT sourcemage.org>:
crypto/putty/DETAILS | 2 -
crypto/putty/HISTORY | 3 +
disk/limine/DETAILS | 7 ++--
disk/limine/FINAL | 27 +++++++++++++++
disk/limine/HISTORY | 15 ++++++++
disk/limine/INSTALL | 6 +--
disk/limine/PROVIDES | 1
disk/limine/limine.gpg |binary
disk/limine/mk-limine-cfg.sh | 73
+++++++++++++++++--------------------------
9 files changed, 84 insertions(+), 50 deletions(-)
New commits:
commit 7fde77aedb3588413b16f3c17f5699ffdc7590e3
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
limine: => 9.5.0
commit 922525314a1a0a788c6d2c310b7fee09d0187973
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
limine - more improvements
commit 7d68e5de1944d538c625ee57953633af16624a0d
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
limine - more verbose
commit ab3efb9a9d469bf4a914d147bf4ac2147e8e8dbf
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
limine 0 rearange mk-limine-cfg.sh
commit cde2b3c166ca001e3147e08396c12c19fc743c90
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
lim3
commit 952fa2ed43187c8f1a9a105305828fb918c7e44e
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
limine ++
commit 655aa8e9900c5740e2dc5f88e62b96a0fa74759e
Author: Treeve Jelbert <treeve AT sourcemage.org>
Commit: Treeve Jelbert <treeve AT sourcemage.org>
putty: => 0.83
diff --git a/crypto/putty/CONFIGURE b/crypto/putty/CONFIGURE
old mode 100644
new mode 100755
diff --git a/crypto/putty/DETAILS b/crypto/putty/DETAILS
index 809ecf3..b134c92 100755
--- a/crypto/putty/DETAILS
+++ b/crypto/putty/DETAILS
@@ -1,6 +1,6 @@
source $GRIMOIRE/CMAKE_FUNCTIONS
SPELL=putty
- VERSION=0.81
+ VERSION=0.83
SECURITY_PATCH=6
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
diff --git a/crypto/putty/HISTORY b/crypto/putty/HISTORY
index 037d8ab..6b045c0 100644
--- a/crypto/putty/HISTORY
+++ b/crypto/putty/HISTORY
@@ -1,3 +1,6 @@
+2025-07-18 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 0.83
+
2024-06-22 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 0.81
SECURITY_PATCH++ fixes CVE-2024-31497
diff --git a/disk/limine/DETAILS b/disk/limine/DETAILS
index 8b1d68e..a2e2d91 100755
--- a/disk/limine/DETAILS
+++ b/disk/limine/DETAILS
@@ -1,9 +1,12 @@
SPELL=limine
- VERSION=9.0.1
-
SOURCE_HASH=sha512:1f9140bf66009610c20248af5ed0c8fe627c957a6977da404ed8efc32d380b33508ee26da154891e6b8c8819dd8fe4b0a07cb87327bb7b504657210a2d82021c
+ VERSION=9.5.0
SOURCE=$SPELL-$VERSION.tar.xz
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=https://github.com/limine-bootloader/limine/releases/download/v$VERSION/$SOURCE
+ SOURCE2=$SOURCE.sig
+ SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
+ SOURCE_GPG=limine.gpg:$SOURCE.sig:UPSTREAM_KEY
+ SOURCE2_IGNORE=signature
WEB_SITE=https://limine-bootloader.org
LICENSE[0]=BSD
ENTERED=20240323
diff --git a/disk/limine/FINAL b/disk/limine/FINAL
new file mode 100755
index 0000000..b50aa43
--- /dev/null
+++ b/disk/limine/FINAL
@@ -0,0 +1,27 @@
+message ${MESSAGE_COLOR}In order to use Limine:\
+\\n/boot should be a FAT32 partition \
+\\nCopy /usr/share/limine/* to /boot/limine/ \
+\\nOn UEFI systems, the kernel needs efi support
+
+if [[ -d /sys/firmware/efi ]];then
+ message This is a UEFI system\
+\\nIn order to use Limine on a UEFI system, we must \
+\\ncreate an entry in the UEFI Firmware. \
+\\n\
+\\nUse the following command, \
+\\n changing /dev/... as appropriate: \
+
+\\nefibootmgr --create\ \
+\\n#### --disk /dev/sda1 ...\ #### \
+\\n#### --disk /dev/nvme0n1 ...\ #### \
+\\n#### --part 1\ \
+\\n --label "SMGL Linux with Limine"\ \
+\\n --loader '/limine/BOOTX64.EFI'
+else
+ message This is a legacy BIOS system
+ message You will need to run \'limine bios-install ...\'
+fi
+message \
+\\nYou will need to create a limine.conf file each time the Linux kernel
changes. \
+\\nConsider using the mk-limine-cfg.sh script provided. \
+${DEFAULT_COLOR}
diff --git a/disk/limine/HISTORY b/disk/limine/HISTORY
index 4074c76..a90eefd 100644
--- a/disk/limine/HISTORY
+++ b/disk/limine/HISTORY
@@ -1,6 +1,21 @@
+2025-07-18 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: version 9.5.0
+ * FINAL: replace 'cat' by 'message'
+
+2025-03-17 Treeve Jelbert <treeve AT sourcemage.org>
+ * DETAILS: add gpg checking
+ * limine.gpg: add "Mintsuki <mintsuki AT protonmail.com>"
+ * DETAILS: version 9.2.0
+
2025-03-02 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 9.0.1
+2025-02-18 Treeve Jelbert <treeve AT sourcemage.org>
+ * INSTALL: change location of script
+ * mk-limine-cfg.sh: tweak
+ * PROVIDES: added
+ * FINAL: added
+
2025-02-17 Treeve Jelbert <treeve AT sourcemage.org>
* DETAILS: version 9.0.0
* mk-limine-cfg.sh: tweak, build a microcode image
diff --git a/disk/limine/INSTALL b/disk/limine/INSTALL
index adf986a..7bee98a 100755
--- a/disk/limine/INSTALL
+++ b/disk/limine/INSTALL
@@ -1,10 +1,8 @@
default_install &&
-DEST=$INSTALL_ROOT/usr/bin &&
+DEST=$INSTALL_ROOT/boot/limine &&
mkdir -p $DEST &&
cp $SPELL_DIRECTORY/mk-limine-cfg.sh $DEST &&
-DEST=$INSTALL_ROOT/boot/limine &&
SPLASH=smgl-splash.png &&
-mkdir -p $DEST &&
cp $SPELL_DIRECTORY/$SPLASH $DEST/$SPLASH &&
message "A SMGL splash screen is available in $DEST" &&
-message "use mk-limine-cfg to update the Limine configuration"
+message "use mk-limine-cfg to create a possible Limine configuration"
diff --git a/disk/limine/PROVIDES b/disk/limine/PROVIDES
new file mode 100644
index 0000000..6da7070
--- /dev/null
+++ b/disk/limine/PROVIDES
@@ -0,0 +1 @@
+BOOTLOADER
diff --git a/disk/limine/limine.gpg b/disk/limine/limine.gpg
new file mode 100644
index 0000000..6aa17d5
Binary files /dev/null and b/disk/limine/limine.gpg differ
diff --git a/disk/limine/mk-limine-cfg.sh b/disk/limine/mk-limine-cfg.sh
index c2dee91..56a4095 100755
--- a/disk/limine/mk-limine-cfg.sh
+++ b/disk/limine/mk-limine-cfg.sh
@@ -10,8 +10,17 @@
cd /boot
-ROOT=`dracut --print-cmdline|cut -d\ -f1,2`
-#ROOT='root=LABEL=root64'
+#ROOT=`dracut --print-cmdline|cut -d\ -f1,2`
+ROOT='root=LABEL=root'
+
+if [[ -d /sys/firmware/efi ]];then
+ echo This is a UEFI system
+ SFX='.efi'
+else
+ echo This is a legacy BIOS system
+fi
+
+
# build a microcode image
if `ls /sys/devices/platform/ |grep AMD > /dev/null`;then
@@ -33,6 +42,8 @@ cmdline: $ROOT
interface_branding:SourceMage GNU/Linux (Limine boot)
interface_branding_colour: 6
wallpaper:boot():/limine/smgl-splash.png
+wallpaper_style: centered
+term_font_scale: 2x2
EOF
@@ -40,14 +51,15 @@ for VX in `ls vmlinuz-* | cut -d- -f2|sort -r`;do
cat >> $DEST << EOF
/Linux $VX
protocol:linux
-path:boot():/vmlinuz-$VX
+path:boot():/vmlinuz-${VX}
module_path:boot():/$UCODE-uc.img
+
EOF
- MOD='initramfs-$VX.img'
+ MOD="initramfs-$VX.img"
if [[ -f $MOD ]];then
cat >> $DEST << EOF
- module_path:boot():$MOD
+ module_path:boot():/$MOD
EOF
fi
done # linux kernels
@@ -62,48 +74,23 @@ path:boot():/memtest+
EOF
fi
-if [[ -d /sys/firmware/efi ]];then
- echo This is a UEFI system
-
-# check for Windows
- if WIN=`blkid | grep SYSTEM_DRV`; then
- WB=${WIN%:*}
- echo Windows installation found at $WB
- cat >> $DEST << EOF
-/Windows
- protocol: efi
- image_path: hdd(0:1):/bootmgfw.efi
-EOF
- fi
-
-
-cat << EOF
-Finally, to create an entry in the UEFI Firmware,
- use the following command,
- changing /dev/... as appropriate:
-
-efibootmgr --create\
- --disk /dev/sda...\
- --disk /dev/nvme...\
- --part 1\
- --label "SMGL Linux with Limine"\
- --loader '/limine/BOOTX64.EFI'
-
-EOF
-else # non UEFI
- echo this is not a UEFI system
# check for Windows
- if WIN=`blkid | grep SYSTEM_DRV`; then
- WB=${WIN%:*}
- echo Windows installation found at $WB
+if WIN=`blkid | grep SYSTEM_DRV`; then
+ WB=${WIN%:*}
+ echo Windows installation found at $WB
cat >> $DEST << EOF
/Windows
- protocol: bios
- image_path: hdd(0:1):/bootmgfw
+ image_path: hdd(1:1):/bootmgfw${SFX}
EOF
+
+ if [[ -n $SFX ]];then
+ echo protocol: efi >> $DEST
+ else
+ echo protocol: bios >> $DEST
fi
+else
+ echo Windows installation NOT found
fi
-cat << EOF
-Check the generated $DEST carefully, especially for Windows
-EOF
+echo Check the generated $DEST carefully, especially for Windows
+## add a reboot option ??
- [[SM-Commit] ] GIT changes to master grimoire by Treeve Jelbert (8bfbd0681dda58e920307b08fe13d41b2a341e94), Treeve Jelbert, 07/18/2025
Archive powered by MHonArc 2.6.24.