some commit
This commit is contained in:
parent
5ab9b1f440
commit
c6d556e5da
3 changed files with 22 additions and 2 deletions
17
airootfs/etc/systemd/network/20-wlan.network
Normal file
17
airootfs/etc/systemd/network/20-wlan.network
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[Match]
|
||||
Name=wl*
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
MulticastDNS=yes
|
||||
|
||||
# systemd-networkd does not set per-interface-type default route metrics
|
||||
# https://github.com/systemd/systemd/issues/17698
|
||||
# Explicitly set route metric, so that Ethernet is preferred over Wi-Fi and Wi-Fi is preferred over mobile broadband.
|
||||
# Use values from NetworkManager. From nm_device_get_route_metric_default in
|
||||
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/blob/main/src/core/devices/nm-device.c
|
||||
[DHCPv4]
|
||||
RouteMetric=600
|
||||
|
||||
[IPv6AcceptRA]
|
||||
RouteMetric=600
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
base
|
||||
linux
|
||||
linux-firmware
|
||||
mkinitcpio
|
||||
mkinitcpio-archiso
|
||||
syslinux
|
||||
|
|
|
|||
|
|
@ -13,9 +13,11 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
|
|||
'uefi-ia32.grub.eltorito' 'uefi-x64.grub.eltorito')
|
||||
arch="x86_64"
|
||||
pacman_conf="pacman.conf"
|
||||
#airootfs_image_type="squashfs"
|
||||
#airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
||||
airootfs_image_type="erofs"
|
||||
#airootfs_image_tool_options=('-zlzma,109' -E 'ztailpacking,fragments,dedupe')
|
||||
airootfs_image_tool_options=(-E 'ztailpacking,fragments')
|
||||
airootfs_image_tool_options=('-zlzma,109' -E 'ztailpacking,fragments,dedupe')
|
||||
#airootfs_image_tool_options=(-E 'ztailpacking,fragments')
|
||||
file_permissions=(
|
||||
["/etc/shadow"]="0:0:400"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue