Compare commits

...

3 Commits

3 changed files with 23 additions and 12 deletions

View File

@ -8,7 +8,7 @@ Download binary images from https://rescue.wmi.amu.edu.pl.
Scripts for Debian Bookworm were tested on Debian 12.1.
Scripts for Debian Bookworm were tested on Debian 12.5.
Required packages:
* debootstrap

View File

@ -3,7 +3,8 @@
VERSION=$1
ARCH=$2
OUTPUT=$3
NOFIRMWARE=$4
MEMTEST_URL=$4
NOFIRMWARE=$5
TEMP_DIR=$(mktemp -d)
SCRIPTDIR="$(dirname "$(realpath "$0")")"
@ -35,8 +36,8 @@ echo
TEMP_DIR_MEMTEST=$(mktemp -d)
wget -q https://memtest.org/download/v6.20/mt86plus_6.20.binaries.zip -P ${TEMP_DIR_MEMTEST}
unzip -q ${TEMP_DIR_MEMTEST}/mt86plus_6.20.binaries.zip -d ${TEMP_DIR_MEMTEST}
wget -q ${MEMTEST_URL} -O ${TEMP_DIR_MEMTEST}/memtest.zip
unzip -q ${TEMP_DIR_MEMTEST}/memtest.zip -d ${TEMP_DIR_MEMTEST}
cp ${TEMP_DIR_MEMTEST}/memtest64.bin "$TEMP_DIR/memtest/memtest.bin"
cp ${TEMP_DIR_MEMTEST}/memtest64.efi "$TEMP_DIR/memtest/memtest.efi"
rm -r "${TEMP_DIR_MEMTEST}"
@ -57,11 +58,20 @@ grub-mkimage -O i386-pc -p /boot/bios/ -o ${TEMP_DIR_GRUB}/core.img iso9660 bios
#cp -r /usr/lib/grub/i386-pc/* $TEMP_DIR/boot/bios/i386-pc
#rm $TEMP_DIR/boot/bios/i386-pc/*.img
for module in normal boot extcmd crypto terminal gettext bufio \
linux video relocator mmap vbe video_fb \
linux16 datetime net priority_queue \
gfxterm font gfxmenu trig bitmap_scale bitmap video_colors \
png verifiers; do
for module in bitmap bitmap_scale boot bufio \
datetime \
crypto \
extcmd \
font \
gettext gfxmenu gfxterm \
linux linux16 \
mmap \
net normal \
png priority_queue \
relocator \
terminal \
trig \
vbe verifiers video video_colors video_fb; do
cp /usr/lib/grub/i386-pc/${module}.mod $TEMP_DIR/boot/bios/i386-pc
done;

View File

@ -4,8 +4,9 @@ TARGET=$1
VERSION=$(date +%g.%m)
OUTPUT=${TARGET}/output/${VERSION}
DEBIAN_CODENAME='bookworm'
KERNEL_VERSION='6.4.0-0.deb12.2-amd64'
KERNEL_VERSION='6.5.0-0.deb12.4-amd64'
KERNEL_REPO="bookworm-backports"
MEMTEST_URL="https://memtest.org/download/v7.00/mt86plus_7.00.binaries.zip"
ARCH='amd64'
QUIET=1
@ -84,6 +85,6 @@ ${SCRIPTDIR}/bin/dist_ipxe ${VERSION} ${OUTPUT}
if [ !$QUIET ]; then echo '\n### Executing dist_ipxe --nofirmware ###'; fi
${SCRIPTDIR}/bin/dist_ipxe ${VERSION} ${OUTPUT} --nofirmware
if [ !$QUIET ]; then echo '\n### Executing dist_iso ###'; fi
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT}
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} ${MEMTEST_URL}
if [ !$QUIET ]; then echo '\n### Executing dist_iso --nofirmware ###'; fi
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} --nofirmware
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} ${MEMTEST_URL} --nofirmware