Skip to content

Commit 8c3f95c

Browse files
committed
[profiledef.sh pacman.conf mkinitcpio.conf] changes for pacman 7 update
1 parent 3b3e10b commit 8c3f95c

3 files changed

Lines changed: 108 additions & 4 deletions

File tree

airootfs/etc/makepkg.conf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,11 @@ CXXFLAGS="$CFLAGS -Wp,-D_GLIBCXX_ASSERTIONS"
4848
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
4949
-Wl,-z,pack-relative-relocs"
5050
LTOFLAGS="-flto=auto"
51-
RUSTFLAGS="-Cforce-frame-pointers=yes"
5251
#-- Make Flags: change this for DistCC/SMP systems
5352
#MAKEFLAGS="-j2"
5453
#-- Debugging flags
5554
DEBUG_CFLAGS="-g"
5655
DEBUG_CXXFLAGS="$DEBUG_CFLAGS"
57-
DEBUG_RUSTFLAGS="-C debuginfo=2"
5856

5957
#########################################################################
6058
# BUILD ENVIRONMENT
@@ -144,7 +142,7 @@ LIB_DIRS=('lib:usr/lib' 'lib32:usr/lib32')
144142
COMPRESSGZ=(gzip -c -f -n)
145143
COMPRESSBZ2=(bzip2 -c -f)
146144
COMPRESSXZ=(xz -c -z -)
147-
COMPRESSZST=(zstd -c -T0 --ultra -20 -)
145+
COMPRESSZST=(zstd -c -T0 -)
148146
COMPRESSLRZ=(lrzip -q)
149147
COMPRESSLZO=(lzop -q)
150148
COMPRESSZ=(compress -c -f)

pacman.conf

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
#
2+
# /etc/pacman.conf
3+
#
4+
# See the pacman.conf(5) manpage for option and repository directives
5+
6+
# Modified version to build the ISO [September 2024] #DownloadUser = alpm
7+
8+
#
9+
# GENERAL OPTIONS
10+
#
11+
[options]
12+
# The following paths are commented out with their default values listed.
13+
# If you wish to use different paths, uncomment and update the paths.
14+
#RootDir = /
15+
#DBPath = /var/lib/pacman/
16+
#CacheDir = /var/cache/pacman/pkg/
17+
#LogFile = /var/log/pacman.log
18+
#GPGDir = /etc/pacman.d/gnupg/
19+
#HookDir = /etc/pacman.d/hooks/
20+
HoldPkg = pacman glibc dracut kernel-install-for-dracut eos-dracut
21+
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
22+
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
23+
#CleanMethod = KeepInstalled
24+
Architecture = auto
25+
26+
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
27+
#IgnorePkg =
28+
#IgnoreGroup =
29+
30+
#NoUpgrade =
31+
#NoExtract =
32+
33+
# Misc options
34+
#UseSyslog
35+
Color
36+
ILoveCandy
37+
#NoProgressBar
38+
#CheckSpace
39+
VerbosePkgLists
40+
ParallelDownloads = 5
41+
#DownloadUser = alpm
42+
#DisableSandbox
43+
44+
# By default, pacman accepts packages signed by keys that its local keyring
45+
# trusts (see pacman-key and its man page), as well as unsigned packages.
46+
SigLevel = Required DatabaseOptional
47+
LocalFileSigLevel = Optional
48+
#RemoteFileSigLevel = Required
49+
50+
# NOTE: You must run `pacman-key --init` before first using pacman; the local
51+
# keyring can then be populated with the keys of all official Arch Linux
52+
# packagers with `pacman-key --populate archlinux`.
53+
54+
#
55+
# REPOSITORIES
56+
# - can be defined here or included from another file
57+
# - pacman will search repositories in the order defined here
58+
# - local/custom mirrors can be added here or in separate files
59+
# - repositories listed first will take precedence when packages
60+
# have identical names, regardless of version number
61+
# - URLs will have $repo replaced by the name of the current repo
62+
# - URLs will have $arch replaced by the name of the architecture
63+
#
64+
# Repository entries are of the format:
65+
# [repo-name]
66+
# Server = ServerName
67+
# Include = IncludePath
68+
#
69+
# The header [repo-name] is crucial - it must be present and
70+
# uncommented to enable the repo.
71+
#
72+
73+
# The testing repositories are disabled by default. To enable, uncomment the
74+
# repo name header and Include lines. You can add preferred servers immediately
75+
# after the header, and they will be used before the default mirrors.
76+
77+
[endeavouros]
78+
SigLevel = PackageRequired
79+
Include = /etc/pacman.d/endeavouros-mirrorlist
80+
81+
#[core-testing]
82+
#Include = /etc/pacman.d/mirrorlist
83+
84+
[core]
85+
Include = /etc/pacman.d/mirrorlist
86+
87+
#[extra-testing]
88+
#Include = /etc/pacman.d/mirrorlist
89+
90+
[extra]
91+
Include = /etc/pacman.d/mirrorlist
92+
93+
# If you want to run 32 bit applications on your x86_64 system,
94+
# enable the multilib repositories as required here.
95+
96+
#[multilib-testing]
97+
#Include = /etc/pacman.d/mirrorlist
98+
99+
[multilib]
100+
Include = /etc/pacman.d/mirrorlist
101+
102+
# An example of a custom package repository. See the pacman manpage for
103+
# tips on creating your own repositories.
104+
#[custom]
105+
#SigLevel = Optional TrustAll
106+
#Server = file:///home/custompkgs

profiledef.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ out_dir="out"
1414
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
1515

1616
arch="x86_64"
17-
pacman_conf="airootfs/etc/pacman.conf"
17+
pacman_conf="pacman.conf"
1818
airootfs_image_type="squashfs"
1919
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
2020
file_permissions=(

0 commit comments

Comments
 (0)