Age | Commit message (Collapse) | Author |
|
It seems `make` now tries to install files in /etc:
support/undivert.m4 config/appconfig-standard/xdm_default_contexts > tmp/appconfig/xdm_default_contexts
2024-12-14T15:43:27.8967495Z install: cannot create directory ‘/etc/selinux/refpolicy-git’: Permission denied
2024-12-14T15:43:27.8974570Z make: *** [Makefile:563: /etc/selinux/refpolicy-git/contexts/files/file_contexts.subs_dist] Error 1
2024-12-14T15:43:27.8975414Z make: *** Waiting for unfinished jobs....
Move `make` to `package` and define `DESTDIR` to work around this issue.
Also add `all` to `make` to prevent from unexpectedly defaulting to
`make install`, even though this should never occur.
|
|
https://wiki.archlinux.org/title/creating_packages describes that
prepare() is used to prepare the source. Running actions similar to
"./configure" (here it is "make conf") should happen in build().
|
|
|
|
Two mentions remain, as I'm not using vagrant myself, the if clauses can
probably be dropped, but I have no (easy and fast) means to test it.
./_vagrant/step1_install_and_configure.sh:88: # If using the deprecated linux-selinux kernel, replace the entries
./_vagrant/step1_install_and_configure.sh:89: if grep 'LINUX \.\./vmlinuz-linux-selinux' /boot/syslinux/syslinux.cfg > /dev/null
|
|
|
|
|
|
|
|
The reference policy added support of the map permission, introduced in
recent kernels. Update the package release to signal users to update.
While at it, sync PKGBUILD and install scripts with
selinux-refpolicy-arch package.
|
|
|
|
|