Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/baseline/profiledef.sh
diff options
context:
space:
mode:
authorDavid Runge <dvzrv@archlinux.org>2020-10-23 22:13:52 +0200
committerDavid Runge <dvzrv@archlinux.org>2020-10-24 17:00:59 +0200
commitf3af5692059067cf8692b5cd1e0d7395c41fec06 (patch)
treef1b09537114dd50c9e641b0a028886c4b9ce4a02 /configs/baseline/profiledef.sh
parent729d16b48c99c5d9b23a89123ecde4ecacfa8705 (diff)
Set CacheDir and HookDir for profile more sanely
archiso/mkarchiso: Change `_pacman()` to use the *modified* pacman.conf from the work_dir, instead of using the *unmodified* pacman.conf from the profile. Change `_make_pacman_conf()` to compare the system's and the profile's CacheDir setting and use the profile's CacheDir setting only if it's not the default and not the same as the system's. Always set the HookDir to the airootfs' override directory, so that no hooks from the host system are being run. Remove DBPath, LogFile and RootDir settings from the work_dir pacman.conf as they are otherwise referring to the host system, **even if** pacman is being called with the `-r` flag. Fix a typo in _make_custom_airootfs(). README.profile.rst: Add information about the pacman.conf in a profile and how configuration options behave, when used by mkarchiso. Fixes #73 Fixes #74
Diffstat (limited to 'configs/baseline/profiledef.sh')
0 files changed, 0 insertions, 0 deletions