Delete i386 support since I dont have a i386 system to rescue and test.

This commit is contained in:
Michael Reifenberger 2023-07-31 20:26:14 +02:00
parent 01718a2e94
commit dd262a8273
4 changed files with 0 additions and 60 deletions

View file

@ -1,14 +0,0 @@
#
# R32 -- Generic kernel configuration file with modifications for rescue.
#
# $FreeBSD$
include GENERIC
ident R32
nooptions INVARIANTS
nooptions INVARIANT_SUPPORT
nooptions WITNESS
nooptions WITNESS_SKIPSPIN
nooptions MALLOC_DEBUG_MAXZONES

View file

@ -26,14 +26,6 @@ sh ../nanobsd.sh $* -c ${CFG}
if [ \! -d /usr/obj/Rescue ]; then
mkdir -p /usr/obj/Rescue
fi
F32="/usr/obj/Rescue/rescue_${today}_x32"
D32="/usr/obj/nanobsd.rescue_i386"
if [ -f "${D32}/_.disk.full" ]; then
cp "${D32}/_.disk.full" "${F32}.img"
fi
if [ -f "${D32}/_.disk.iso" ]; then
cp "${D32}/_.disk.iso" "${F32}.iso"
fi
F64="/usr/obj/Rescue/rescue_${today}_x64"
D64="/usr/obj/nanobsd.rescue_amd64"

View file

@ -1,28 +0,0 @@
#!/bin/sh
# $FreeBSD$
today=`date '+%Y%m%d'`
I32="/usr/obj/Rescue/rescue_${today}_x32.img"
I64="/usr/obj/Rescue/rescue_${today}_x64.img"
IAL="/usr/obj/Rescue/rescue_${today}_xal.img"
D64="/usr/obj/nanobsd.rescue_amd64"
MNT="/usr/obj/Rescue/_mnt"
if [ \! -d "$MNT" ]; then
mkdir "$MNT"
fi
dd if=${I32} of=${IAL} bs=128k
MD=`mdconfig -a -t vnode -f ${IAL}`
dd if=${D64}/_.disk.image of=/dev/${MD}s2 bs=128k
tunefs -L rescues2a /dev/${MD}s2a
mount /dev/${MD}s2a ${MNT}
sed -i "" -e 's/rescues1/rescues2/' ${MNT}/conf/base/etc/fstab
sed -i "" -e 's/rescues1/rescues2/' ${MNT}/etc/fstab
umount ${MNT}
mdconfig -d -u ${MD}

View file

@ -1,10 +0,0 @@
#
# $FreeBSD$
#
NANO_KERNEL=R32
NANO_ARCH=i386
TARGET_ARCH=i386; export TARGET_ARCH
#TARGET_CPUTYPE=i386; export TARGET_CPUTYPE
NANO_NAME=rescue_i386
. common