minor improvements to build-iso

This commit is contained in:
Daniel Langbein 2021-11-13 14:14:14 +01:00
parent 4a63d72017
commit 1b784dcf0d
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="build-iso clean" type="ShConfigurationType">
<option name="SCRIPT_TEXT" value="sudo docker-compose run archiso clean" />
<option name="INDEPENDENT_SCRIPT_PATH" value="true" />
<option name="SCRIPT_PATH" value="$PROJECT_DIR$/build-pkg/build-all" />
<option name="SCRIPT_OPTIONS" value="pkglist-AUR.txt" />
<option name="INDEPENDENT_SCRIPT_WORKING_DIRECTORY" value="true" />
<option name="SCRIPT_WORKING_DIRECTORY" value="$PROJECT_DIR$/build-iso" />
<option name="INDEPENDENT_INTERPRETER_PATH" value="true" />
<option name="INTERPRETER_PATH" value="/usr/bin/bash" />
<option name="INTERPRETER_OPTIONS" value="" />
<option name="EXECUTE_IN_TERMINAL" value="true" />
<option name="EXECUTE_SCRIPT_FILE" value="false" />
<envs />
<method v="2" />
</configuration>
</component>

View File

@ -168,3 +168,4 @@ echo "running 'sudo mkarchiso' ..."
sudo mkarchiso -v -w "${BUILD_DIR}"/work_dir -o "${BUILD_DIR}"/out_dir "${BUILD_DIR}"/profile || exit $? sudo mkarchiso -v -w "${BUILD_DIR}"/work_dir -o "${BUILD_DIR}"/out_dir "${BUILD_DIR}"/profile || exit $?
sudo chown -R "build:wheel" "${BUILD_DIR}"/out_dir || exit $? sudo chown -R "build:wheel" "${BUILD_DIR}"/out_dir || exit $?
echo "DONE. See ./out/out_dir for the generated .iso file and it's ssh fingerprints."