Compare commits
No commits in common. "81900d910c7cbae8096758bce11ee72a30d38eb6" and "590dd64261e155a43a8b2abc19efffe7cfeb35ae" have entirely different histories.
81900d910c
...
590dd64261
@ -8,7 +8,7 @@ Download binary images from https://rescue.wmi.amu.edu.pl.
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
Scripts for Debian Bookworm were tested on Debian 12.5.
|
Scripts for Debian Bookworm were tested on Debian 12.1.
|
||||||
|
|
||||||
Required packages:
|
Required packages:
|
||||||
* debootstrap
|
* debootstrap
|
||||||
|
@ -3,8 +3,7 @@
|
|||||||
VERSION=$1
|
VERSION=$1
|
||||||
ARCH=$2
|
ARCH=$2
|
||||||
OUTPUT=$3
|
OUTPUT=$3
|
||||||
MEMTEST_URL=$4
|
NOFIRMWARE=$4
|
||||||
NOFIRMWARE=$5
|
|
||||||
|
|
||||||
TEMP_DIR=$(mktemp -d)
|
TEMP_DIR=$(mktemp -d)
|
||||||
SCRIPTDIR="$(dirname "$(realpath "$0")")"
|
SCRIPTDIR="$(dirname "$(realpath "$0")")"
|
||||||
@ -36,8 +35,8 @@ echo
|
|||||||
|
|
||||||
TEMP_DIR_MEMTEST=$(mktemp -d)
|
TEMP_DIR_MEMTEST=$(mktemp -d)
|
||||||
|
|
||||||
wget -q ${MEMTEST_URL} -O ${TEMP_DIR_MEMTEST}/memtest.zip
|
wget -q https://memtest.org/download/v6.20/mt86plus_6.20.binaries.zip -P ${TEMP_DIR_MEMTEST}
|
||||||
unzip -q ${TEMP_DIR_MEMTEST}/memtest.zip -d ${TEMP_DIR_MEMTEST}
|
unzip -q ${TEMP_DIR_MEMTEST}/mt86plus_6.20.binaries.zip -d ${TEMP_DIR_MEMTEST}
|
||||||
cp ${TEMP_DIR_MEMTEST}/memtest64.bin "$TEMP_DIR/memtest/memtest.bin"
|
cp ${TEMP_DIR_MEMTEST}/memtest64.bin "$TEMP_DIR/memtest/memtest.bin"
|
||||||
cp ${TEMP_DIR_MEMTEST}/memtest64.efi "$TEMP_DIR/memtest/memtest.efi"
|
cp ${TEMP_DIR_MEMTEST}/memtest64.efi "$TEMP_DIR/memtest/memtest.efi"
|
||||||
rm -r "${TEMP_DIR_MEMTEST}"
|
rm -r "${TEMP_DIR_MEMTEST}"
|
||||||
@ -58,20 +57,11 @@ 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
|
#cp -r /usr/lib/grub/i386-pc/* $TEMP_DIR/boot/bios/i386-pc
|
||||||
#rm $TEMP_DIR/boot/bios/i386-pc/*.img
|
#rm $TEMP_DIR/boot/bios/i386-pc/*.img
|
||||||
for module in bitmap bitmap_scale boot bufio \
|
for module in normal boot extcmd crypto terminal gettext bufio \
|
||||||
datetime \
|
linux video relocator mmap vbe video_fb \
|
||||||
crypto \
|
linux16 datetime net priority_queue \
|
||||||
extcmd \
|
gfxterm font gfxmenu trig bitmap_scale bitmap video_colors \
|
||||||
font \
|
png verifiers; do
|
||||||
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
|
cp /usr/lib/grub/i386-pc/${module}.mod $TEMP_DIR/boot/bios/i386-pc
|
||||||
done;
|
done;
|
||||||
|
|
||||||
|
@ -4,9 +4,8 @@ TARGET=$1
|
|||||||
VERSION=$(date +%g.%m)
|
VERSION=$(date +%g.%m)
|
||||||
OUTPUT=${TARGET}/output/${VERSION}
|
OUTPUT=${TARGET}/output/${VERSION}
|
||||||
DEBIAN_CODENAME='bookworm'
|
DEBIAN_CODENAME='bookworm'
|
||||||
KERNEL_VERSION='6.5.0-0.deb12.4-amd64'
|
KERNEL_VERSION='6.4.0-0.deb12.2-amd64'
|
||||||
KERNEL_REPO="bookworm-backports"
|
KERNEL_REPO="bookworm-backports"
|
||||||
MEMTEST_URL="https://memtest.org/download/v7.00/mt86plus_7.00.binaries.zip"
|
|
||||||
ARCH='amd64'
|
ARCH='amd64'
|
||||||
|
|
||||||
QUIET=1
|
QUIET=1
|
||||||
@ -85,6 +84,6 @@ ${SCRIPTDIR}/bin/dist_ipxe ${VERSION} ${OUTPUT}
|
|||||||
if [ !$QUIET ]; then echo '\n### Executing dist_ipxe --nofirmware ###'; fi
|
if [ !$QUIET ]; then echo '\n### Executing dist_ipxe --nofirmware ###'; fi
|
||||||
${SCRIPTDIR}/bin/dist_ipxe ${VERSION} ${OUTPUT} --nofirmware
|
${SCRIPTDIR}/bin/dist_ipxe ${VERSION} ${OUTPUT} --nofirmware
|
||||||
if [ !$QUIET ]; then echo '\n### Executing dist_iso ###'; fi
|
if [ !$QUIET ]; then echo '\n### Executing dist_iso ###'; fi
|
||||||
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} ${MEMTEST_URL}
|
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT}
|
||||||
if [ !$QUIET ]; then echo '\n### Executing dist_iso --nofirmware ###'; fi
|
if [ !$QUIET ]; then echo '\n### Executing dist_iso --nofirmware ###'; fi
|
||||||
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} ${MEMTEST_URL} --nofirmware
|
${SCRIPTDIR}/bin/dist_iso ${VERSION} ${ARCH} ${OUTPUT} --nofirmware
|
||||||
|
Loading…
Reference in New Issue
Block a user