Updated Media based on 2404

This commit is contained in:
Patrick Kloepfer 2021-06-07 10:05:05 -04:00
parent ae1dfc062f
commit 03603b431c
8 changed files with 151 additions and 9 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -27,13 +27,26 @@ ELSE
FI
CALL PRINTXY 8 0 "BUILD and MAKE volumes found."
ECHO "\n"
READ -P "WHICH BUILD NO: " B
IF [ -Z $B ]
ECHO "You did not enter any response."
ECHO
ECHO "Exiting"
EXIT
FI
switch $#
case 0
read -p "Which Build No: " b
if [ -z $B ]
echo "Error: Empty response\n\n"
exit
fi
break
case 1
set B = $1
if [ -i $B ]
else
echo "\n\n Error: Non-Numeric Parameter \n\n"
exit
fi
break
default
echo "\n\n Error: Too Many Parameters \n\n"
exit
end
SET SRC = "/MAKE/BUILDS/BUILD${B}"
IF [ -D ${SRC} ]
ECHO "\n\nFound Existing BUILD ${B}\n"
@ -51,10 +64,12 @@ cp -Q -R /A2OSX.BUILD/* /MAKE/BUILDS/BUILD${B}
ECHO "\nBUILD $B Copied!"
cd /MAKE/BUILDS/BUILD${B}
pakme PRODOS.FX PRODOS.FX.PAKED
cp PRODOS.FX* /MAKE
cp -q -y PRODOS.FX* /MAKE
cd sys
md km
cp km* km
rm -q km*
cp km/km.ramworks
pakme kernel kernel.PAKED
echo "Fixed Up Files to make images"
ECHO "PREFIX BUILDS/BUILD${B}" > /MAKE/BLEED

View File

@ -99,7 +99,7 @@ cp -Q -Y ${SRC}/PRODOS.FX /FULLBOOT/ProDOS
cp -Q -Y ${SRC}/PRODOS.FX /FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/PRODOS.FX.PAKED /FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/PRODOS.203TC /FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/NS.CLOCK.SYSTEM /FULLBOOT/usr/share/extras
cp -Q -Y /MAKE/assets/NS.CLOCK.SYSTEM /FULLBOOT/usr/share/extras
cp -Q -Y -R /MAKE/usr/share/help/* /FULLBOOT/usr/share/help
cp -Q -Y initboot /FULLBOOT/etc/init
ECHO "Welcome to A2osX!" > /FULLBOOT/etc/issue

127
MAKE/makeimages.txt Normal file
View File

@ -0,0 +1,127 @@
NEW
PREFIX
AUTO 4,1
#!/BIN/SH
#
# This script builds ALL media images in /RAM3
# which can then be used to make actual media and
# pak files that can be netinstalled or used for updates
#
# This script must be passed two parameters, the build no
# and if its creating Release, Candidate or Stable
# If param 2 is missing, we assume stable.
#
switch $#
case 0
echo "\nNo Argument specified - exiting"
exit
break
case 2
SWITCH $RCS
CASE r
CASE R
SET IM = "Release Build No. ${B}"
BREAK
CASE c
CASE C
SET IM = "Release Candidate Build No. ${B}"
BREAK
DEFAULT
SET IM = "Stable Release Build No. ${B}"
BREAK
END
case 1
SET SRC = "/MAKE/BUILDS/BUILD${B}"
IF [ -D ${SRC} ]
ELSE
ECHO "\n\nValid BUILD ${B} not found. Exiting!"
EXIT
FI
break
default
echo \nToo Many Arguments\n
exit
end
#
# FullBoot Media
#
md /RAM3/FULLBOOT
md /RAM3/FULLBOOT/bin
md /RAM3/FULLBOOT/drv
md /RAM3/FULLBOOT/etc
md /RAM3/FULLBOOT/inc
md /RAM3/FULLBOOT/lib
md /RAM3/FULLBOOT/root
md /RAM3/FULLBOOT/sbin
md /RAM3/FULLBOOT/sys
md /RAM3/FULLBOOT/sys/km
md /RAM3/FULLBOOT/tmp
md /RAM3/FULLBOOT/usr
md /RAM3/FULLBOOT/usr/share
md /RAM3/FULLBOOT/usr/share/adm
md /RAM3/FULLBOOT/usr/share/extras
md /RAM3/FULLBOOT/usr/share/help
md /RAM3/FULLBOOT/usr/share/help/adm.help
md /RAM3/FULLBOOT/usr/share/help/adm.help/enable.help
md /RAM3/FULLBOOT/usr/share/help/csh.help
md /RAM3/FULLBOOT/usr/share/help/sh.help
md /RAM3/FULLBOOT/var
md /RAM3/FULLBOOT/var/log
md /RAM3/FULLBOOT/var/www
ECHO "Copying Files..."
FOR FILE IN (fullfiles)
cp -Q ${SRC}/${FILE} /RAM3/FULLBOOT/${FILE}
NEXT
cp -Q -Y -R ${SRC}/srv/www/* /RAM3/FULLBOOT/var/www
cp -Q -Y ${SRC}/PRODOS.FX /RAM3/FULLBOOT/ProDOS
cp -Q -Y ${SRC}/PRODOS.FX /RAM3/FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/PRODOS.FX.PAKED /RAM3/FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/PRODOS.203TC /RAM3/FULLBOOT/usr/share/extras
cp -Q -Y ${SRC}/NS.CLOCK.SYSTEM /RAM3/FULLBOOT/usr/share/extras
cp -Q -Y -R /MAKE/usr/share/help/* /RAM3/FULLBOOT/usr/share/help
cp -Q -Y initboot /RAM3/FULLBOOT/etc/init
ECHO "Welcome to A2osX!" > /RAM3/FULLBOOT/etc/issue
ECHO >> /RAM3/FULLBOOT/etc/issue
ECHO $IM >> /RAM3/FULLBOOT/etc/issue
cp -Q tcpip.conf /RAM3/FULLBOOT/etc/tcpip.conf
cp -Q profile /RAM3/FULLBOOT/root/profile
cp -q helloworld.s /RAM3/FULLBOOT/root/helloworld.s
cp -q /MAKE/assets/PRODOS242/BASIC.SYSTEM /RAM3/FULLBOOT/bin/Basic
cp -q /MAKE/SCASM3.SYSTEM /RAM3/FULLBOOT/bin/SC3
cp -q /MAKE/assets/PRODOS242/COPYIIPLUS.8.4 /RAM3/FULLBOOT/bin/CP2Plus
pushd /RAM3/FULLBOOT
pak ../fullboot.pak -r *
popd
#
# Debug Media
#
md /RAM3/DEBUG
md /RAM3/DEBUG/bin
md /RAM3/DEBUG/drv
md /RAM3/DEBUG/etc
md /RAM3/DEBUG/lib
md /RAM3/DEBUG/root
md /RAM3/DEBUG/sbin
md /RAM3/DEBUG/sys
ECHO "Copying Files..."
FOR FILE IN (debugfiles)
cp -Q ${SRC}/${FILE} /debug/${FILE}
NEXT
cp -Q -Y ${SRC}/PRODOS.FX.PAKED /debug/ProDOS
cp -Q -Y debuginit /debug/etc/init
ECHO "Welcome to A2osX!" > /debug/etc/issue
ECHO >> /debug/etc/issue
ECHO $IM >> /debug/etc/issue
ECHO >> /debug/etc/issue
ECHO >> /debug/etc/issue
ECHO "This is the Special DEBUG BOOT DISK" >> /debug/etc/issue
ECHO >> /debug/etc/issue
cp -Q tcpip.conf /debug/etc/tcpip.conf
cp -Q debugprofile /debug/root/profile
ECHO "debug Disk Created!"
MAN
TEXT /MAKE/usr/share/make/makeimages