Skip to content

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

paper42 added 10 commits April 15, 2023 11:14
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
elif [ "$_type" = "dhcp" ]; then
if $(echo $_dev|egrep -q "^wl.*" 2>/dev/null); then
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