Erik Dubois
4 years ago
14 changed files with 81 additions and 16 deletions
@ -0,0 +1,13 @@ |
|||||||
|
# remove from airootfs! |
||||||
|
[Trigger] |
||||||
|
Operation = Install |
||||||
|
Type = Package |
||||||
|
Target = glibc |
||||||
|
|
||||||
|
[Action] |
||||||
|
Description = Uncommenting en_US.UTF-8 locale and running locale-gen... |
||||||
|
When = PostTransaction |
||||||
|
Depends = glibc |
||||||
|
Depends = sed |
||||||
|
Depends = sh |
||||||
|
Exec = /bin/sh -c "sed -i 's/#\(en_US\.UTF-8\)/\1/' /etc/locale.gen && locale-gen" |
@ -0,0 +1,13 @@ |
|||||||
|
# remove from airootfs! |
||||||
|
[Trigger] |
||||||
|
Operation = Install |
||||||
|
Operation = Upgrade |
||||||
|
Type = Package |
||||||
|
Target = pacman-mirrorlist |
||||||
|
|
||||||
|
[Action] |
||||||
|
Description = Uncommenting all mirrors in /etc/pacman.d/mirrorlist... |
||||||
|
When = PostTransaction |
||||||
|
Depends = pacman-mirrorlist |
||||||
|
Depends = sed |
||||||
|
Exec = /usr/bin/sed -i "s/#Server/Server/g" /etc/pacman.d/mirrorlist |
@ -0,0 +1,18 @@ |
|||||||
|
# remove from airootfs! |
||||||
|
# As a workaround for https://bugs.archlinux.org/task/49347 , remove pacman hooks specific to the ISO build process. |
||||||
|
# If not, they would be used when pacstrap is run in the live environment. |
||||||
|
|
||||||
|
[Trigger] |
||||||
|
Operation = Install |
||||||
|
Operation = Upgrade |
||||||
|
Operation = Remove |
||||||
|
Type = Package |
||||||
|
Target = * |
||||||
|
|
||||||
|
[Action] |
||||||
|
Description = Work around FS#49347 by removing custom pacman hooks that are only required during ISO build... |
||||||
|
When = PostTransaction |
||||||
|
Depends = sh |
||||||
|
Depends = coreutils |
||||||
|
Depends = grep |
||||||
|
Exec = /bin/sh -c "rm -- $(grep -Frl 'remove from airootfs' /etc/pacman.d/hooks/)" |
@ -0,0 +1,15 @@ |
|||||||
|
# |
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later |
||||||
|
|
||||||
|
[Match] |
||||||
|
Type=wwan |
||||||
|
|
||||||
|
[Network] |
||||||
|
DHCP=yes |
||||||
|
IPv6PrivacyExtensions=yes |
||||||
|
|
||||||
|
[DHCPv4] |
||||||
|
RouteMetric=2048 |
||||||
|
|
||||||
|
[DHCPv6] |
||||||
|
RouteMetric=2048 |
@ -0,0 +1 @@ |
|||||||
|
/usr/lib/systemd/system/ModemManager.service |
@ -0,0 +1 @@ |
|||||||
|
/usr/lib/systemd/system/ModemManager.service |
Loading…
Reference in new issue