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
|
|
|
)
|
|
|
|
|
2023-01-02 17:15:02 +01:00
|
|
|
echo =================================
|
2022-12-25 20:52:46 +01:00
|
|
|
echo END of MAIN image preparation ...
|
2023-01-02 17:15:02 +01:00
|
|
|
echo =================================
|
2021-03-16 23:51:45 +01:00
|
|
|
echo.
|
|
|
|
|
|
|
|
rem start scripts
|
|
|
|
for %%S in (
|
|
|
|
|
2023-01-03 13:27:21 +01:00
|
|
|
mount-image.cmd
|
2022-12-28 20:49:33 +01:00
|
|
|
remove-apps.cmd
|
2021-03-16 23:51:45 +01:00
|
|
|
finish-image.cmd
|
|
|
|
|
|
|
|
) do (
|
|
|
|
|
|
|
|
echo ########## calling [ %%S ] ##########
|
|
|
|
call %%S
|
|
|
|
echo.
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
rem go back ...
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo.
|
2021-03-17 00:22:50 +01:00
|
|
|
echo ======
|
|
|
|
echo READY.
|
|
|
|
echo ======
|
2021-03-16 23:51:45 +01:00
|
|
|
|