mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-14 23:43:56 +01:00
Debian: improve install method.
This commit is contained in:
parent
8e9ccc3bf7
commit
c96c641d80
@ -76,6 +76,6 @@ preprocess-debian:
|
||||
- debian
|
||||
script:
|
||||
- apt-get update -q
|
||||
- apt-get install -y apparmor
|
||||
- apt-get install -y apparmor apparmor-profiles
|
||||
- dpkg --install $PKGDEST/*
|
||||
- apparmor_parser --preprocess /etc/apparmor.d 1> /dev/null
|
||||
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -12,6 +12,7 @@ override_dh_auto_configure:
|
||||
./configure --distribution=debian
|
||||
|
||||
override_dh_install:
|
||||
find systemd/ -type f -exec \
|
||||
install -Dm0644 {} $$(pwd)/debian/apparmor.d/usr/lib/systemd/system/$(basename {})/apparmor.conf \;
|
||||
mv systemd system
|
||||
find system -type f -exec \
|
||||
install -Dm0644 {} $$(pwd)/debian/apparmor.d/usr/lib/systemd/{}.d/apparmor.conf \;
|
||||
dh_install
|
||||
|
Loading…
Reference in New Issue
Block a user