Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework build_iso.sh #1805

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

codefiles
Copy link
Contributor

Move the development message to motd. Move archinstall build from zprofile to a script. Create a service that is enabled on boot to run the script. Wait for completion of the service at root login shell (zprofile).

Currently the build of archinstall in the ISO environment is output to the console. This is problematic because there is not a scrollback buffer in the console to review the output. The changes in this pull request will allow the review of the build with journalctl -u build-archinstall.

Another issue with the current implementation is changing tty or executing tmux and opening panes and windows will read and execute the zprofile causing archinstall to be built and installed again. This pull request does not have this problem because the script to build and install archinstall is started by the service.

@codefiles codefiles requested a review from Torxed as a code owner May 7, 2023 15:30
@codefiles codefiles force-pushed the rework-iso branch 3 times, most recently from aa68b1a to e1834f5 Compare May 7, 2023 19:42
@Torxed
Copy link
Member

Torxed commented May 8, 2023

The script was never really meant to be used on a broader scale. It's only real purpose was to run in

- run: ./build_iso.sh

That said the improvements might be quite useful. Let me test this out before merging :)

@codefiles
Copy link
Contributor Author

Understood. After some more thought on the matter I feel this pull request should not be merged. At least not yet.

@codefiles codefiles marked this pull request as draft May 12, 2023 03:58
echo "This ISO was built from Git SHA $GITHUB_SHA"
echo "Type archinstall to launch the installer."
_EOF_

pacman -Sy
pacman --noconfirm -S git archiso
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps you can add the --disable-download-timeout flag here. It helps with errors like Operation too slow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants