Skip to main content
Topic: Use artools to build Artix base image w/ NetworkManager (instead of connman) (Read 205 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Use artools to build Artix base image w/ NetworkManager (instead of connman)

If you'd like nmtui to set up wireless from the base image this is one way to build it:
If you've not already, prepare to use buildiso

Go to artools-workspace/iso-profiles/base/

Add to Packages-Root

Code: [Select]
artix-grub-theme
artix-grub-live
networkmanager-openrc     # OpenRC networkmanager init script
@openrc networkmanager-openrc     #start the init script

Add to Profile.conf the NetworkManager service

Code: [Select]
SERVICES=('acpid' 'bluetoothd' 'cronie' 'NetworkManager')

Build the image:
Code: [Select]
buildiso -p base -q
buildiso -p base

Or, if you wanted to customize along the way:

Code: [Select]
buildiso -p base -q
buildiso -p base -x
buildiso -p base -bc
sudo sed -i 's|#rc_parallel="NO"|rc_parallel="YES"|' artools/buildiso/base/artix/rootfs/etc/rc.conf
sudo sed -i 's|checksum=y|checksum=n|' artools/buildiso/base/iso/boot/grub/kernels.cfg
artools-chroot artools/buildiso/base/artix/rootfs/ /bin/bash
pacman -Sy
CTRL+D
buildiso -p base -sc
buildiso -p base -zc

Your ISO is here:

Code: [Select]
artools-workspace/iso/base/artix-base-openrc-NetworkManager-2019-01-01-x86_64.iso

Old-timer penguin

Re: Use artools to build Artix base image w/ NetworkManager (instead of connman)

Reply #1
I would add
Code: [Select]
networkmanager     # Network connection manager and user applications
networkmanager-openrc     # OpenRC networkmanager init script

Isn't quite 'correct'.

The @ operator basically selects the init.
networkmanager-openrc depends on networkmanager. ;)
Same for the other inits, the init script package usually pulls in the depends.

Code: [Select]
@networkmanager-openrc     #  networkmanager 

Starting the service is done via the SERVICES array in profile.conf.

Re: Use artools to build Artix base image w/ NetworkManager (instead of connman)

Reply #2

Same for the other inits, the init script package usually pulls in the depends.

Code: [Select]
@networkmanager-openrc     #  networkmanager 


Ahh you're so right.  Thanks for chiming in.  8)
Old-timer penguin