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

[WIP] setup scripts #338

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Conversation

paper42
Copy link
Member

@paper42 paper42 commented Apr 15, 2023

Very WIP, I am opening a PR here just to track the progress.

TODO:

  • include base system xbps cache and let installer with the local source use it
  • create a menu for choosing which variant people would like to install
  • add arguments to build-x86-images that tell it which setupscripts should be available in the Network install and which ones should be available in the Local/Offline install

moving different variants will allow us to use the same code for setting
up the target system as for setting up the iso
-x checks for executable permissions, we just want to check if the file
exists
without unmounting these filesystems, unmounting their parents fails and
/mnt/target doesn't get unmounted
@@ -1339,7 +1277,7 @@ ${BOLD}Do you want to continue?${RESET}" 20 80 || return
cp /etc/wpa_supplicant/wpa_supplicant.conf $TARGETDIR/etc/wpa_supplicant
ln -sf /etc/sv/wpa_supplicant $TARGETDIR/etc/runit/runsvdir/default/wpa_supplicant
Copy link

Choose a reason for hiding this comment

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

Suggested change
ln -sf /etc/sv/wpa_supplicant $TARGETDIR/etc/runit/runsvdir/default/wpa_supplicant
enable_service wpa_supplicant

another candidate maybe ?

Copy link

Choose a reason for hiding this comment

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

I also like the idea of this PR...

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.

2 participants