2021-03-16 23:51:45 +01:00
|
|
|
@echo off
|
|
|
|
|
2022-12-29 10:49:17 +01:00
|
|
|
rem check for the image directory ...
|
|
|
|
if NOT EXIST image (
|
|
|
|
echo ERROR: directory [ image ] NOT FOUND!
|
2021-03-16 23:51:45 +01:00
|
|
|
echo ABORT.
|
|
|
|
exit /b
|
|
|
|
) else (
|
2022-12-29 10:49:17 +01:00
|
|
|
cd image
|
2021-03-16 23:51:45 +01:00
|
|
|
)
|
|
|
|
|
2022-12-25 20:52:46 +01:00
|
|
|
echo =========================================
|
|
|
|
echo START of BOOT image creation process ...
|
|
|
|
echo =========================================
|
2021-03-16 23:51:45 +01:00
|
|
|
echo.
|
|
|
|
|
|
|
|
rem start scripts
|
|
|
|
for %%S in (
|
|
|
|
mount-boot.cmd
|
|
|
|
finish-boot.cmd
|
|
|
|
) do (
|
|
|
|
echo ########## calling [ %%S ] ##########
|
2023-02-01 17:27:09 +01:00
|
|
|
call %%S || ( cd .. ; exit /b )
|
2021-03-16 23:51:45 +01:00
|
|
|
echo.
|
|
|
|
)
|
|
|
|
|
|
|
|
rem go back ...
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo.
|
2021-03-17 00:22:50 +01:00
|
|
|
echo ======
|
|
|
|
echo READY.
|
|
|
|
echo ======
|
2023-02-20 15:11:28 +01:00
|
|
|
|