diff --git a/play.yaml b/play.yaml index 8b93dfe..7882a14 100644 --- a/play.yaml +++ b/play.yaml @@ -25,20 +25,4 @@ ansible.builtin.import_playbook: void_user.yaml - name: Import chroot void customizations - ansible.builtin.import_playbook: void_custom.yaml - - # - I chose to use booster instead of dracut - # - easiest way to achieve this is before installing `base-system` - # to `echo 'ignorepkg=dracut' >> /etc/xbps.d/ignore-dracut.conf` - # and manually install `booster` instead - # - Lastly, you need to manually create initramfs when in a chroot - # since booster will detect the host kernel instead. See here: - # <https://github.com/anatol/booster/issues/230> - # Essentially, run `booster build --kernel-version <krnl> myboot.img` - # with the version you want to build for. - # E.g. at time of writing, `booster build --kernel-version 6.12.13_1 myboot.img`. - # To find correct version, use the name of the `/usr/lib/modules/XYZ` XYZ dir. - # - # - do the remaining steps in the 'installation configuration' setup of the guide chroot guide - # - if wanted (and you should) uncomment wheel group in sudoers and set up a sudo-enabled user - # `useradd -m -G wheel -U -s /bin/zsh <username>` (if zsh is already installed) + ansible.builtin.import_playbook: void_packages.yaml diff --git a/void_custom.yaml b/void_packages.yaml similarity index 98% rename from void_custom.yaml rename to void_packages.yaml index b1ec0ef..7f80c28 100644 --- a/void_custom.yaml +++ b/void_packages.yaml @@ -1,5 +1,5 @@ - name: Install void customizations - hosts: chroot + hosts: void become: true vars: ansible_chroot_exe: arch-chroot