buid(debian): remove config-package build deps.

This commit is contained in:
Alexandre Pujol 2022-10-15 23:14:09 +01:00
parent a470063f0f
commit d618583390
Failed to generate hash of commit
6 changed files with 6 additions and 8 deletions

View file

@ -14,8 +14,7 @@ jobs:
run: | run: |
sudo apt-get update -q sudo apt-get update -q
sudo apt-get install -y \ sudo apt-get install -y \
devscripts debhelper config-package-dev \ devscripts debhelper auditd apparmor-profiles
auditd apparmor-profiles
sudo rm /etc/apparmor.d/usr.lib.snapd.snap-confine.real sudo rm /etc/apparmor.d/usr.lib.snapd.snap-confine.real
- name: Build the apparmor.d package - name: Build the apparmor.d package

View file

@ -73,7 +73,7 @@ debian:
script: script:
- VERSION="$(date +%y.%m%d)-1" - VERSION="$(date +%y.%m%d)-1"
- mkdir -p "$PKGDEST" - mkdir -p "$PKGDEST"
- sudo apt-get update -q && sudo apt-get install -y golang-go lsb-release config-package-dev rsync - sudo apt-get update -q && sudo apt-get install -y golang-go lsb-release rsync
- dch --newversion=$VERSION --urgency=medium --distribution=stable --controlmaint "Release $VERSION" - dch --newversion=$VERSION --urgency=medium --distribution=stable --controlmaint "Release $VERSION"
- dpkg-buildpackage -b -d --no-sign - dpkg-buildpackage -b -d --no-sign
- mv ../*.deb $PKGDEST/ - mv ../*.deb $PKGDEST/

View file

@ -74,7 +74,7 @@ The `PKGBUILD` included in this repository is intended for development only.
Build using standard Debian package build tools: Build using standard Debian package build tools:
```sh ```sh
sudo apt install apparmor-profiles build-essential config-package-dev debhelper golang-go rsync git sudo apt install apparmor-profiles build-essential debhelper golang-go rsync git
git clone https://github.com/roddhjav/apparmor.d.git git clone https://github.com/roddhjav/apparmor.d.git
cd apparmor.d cd apparmor.d
dpkg-buildpackage -b -d --no-sign dpkg-buildpackage -b -d --no-sign

3
debian/control vendored
View file

@ -6,7 +6,6 @@ Build-Depends: debhelper (>= 13.4),
debhelper-compat (= 13), debhelper-compat (= 13),
golang-any, golang-any,
lsb-release, lsb-release,
config-package-dev,
rsync, rsync,
Homepage: https://github.com/roddhjav/apparmor.d Homepage: https://github.com/roddhjav/apparmor.d
Vcs-Browser: https://github.com/roddhjav/apparmor.d Vcs-Browser: https://github.com/roddhjav/apparmor.d
@ -17,4 +16,4 @@ Rules-Requires-Root: no
Package: apparmor.d Package: apparmor.d
Architecture: all Architecture: all
Depends: apparmor-profiles, ${misc:Depends} Depends: apparmor-profiles, ${misc:Depends}
Description: Full set of AppArmor profiles (~ 1000 profiles) Description: Full set of AppArmor profiles (~ 1400 profiles)

View file

@ -7,7 +7,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
RUN echo 'deb http://deb.debian.org/debian bullseye-backports main contrib non-free' >> /etc/apt/sources.list && \ RUN echo 'deb http://deb.debian.org/debian bullseye-backports main contrib non-free' >> /etc/apt/sources.list && \
apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \ apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \
apt-get -qq -y --no-install-recommends install \ apt-get -qq -y --no-install-recommends install \
build-essential devscripts debhelper fakeroot config-package-dev \ build-essential devscripts debhelper fakeroot \
git lsb-release rsync && \ git lsb-release rsync && \
apt-get -qq -y --no-install-recommends install \ apt-get -qq -y --no-install-recommends install \
golang-1.19-go -t bullseye-backports && \ golang-1.19-go -t bullseye-backports && \

View file

@ -6,7 +6,7 @@ ENV DEBIAN_FRONTEND=noninteractive \
# hadolint ignore=DL3008 # hadolint ignore=DL3008
RUN apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \ RUN apt-get update -y && apt-get -qq -y --no-install-recommends upgrade && \
apt-get -qq -y --no-install-recommends install \ apt-get -qq -y --no-install-recommends install \
build-essential devscripts debhelper fakeroot config-package-dev \ build-essential devscripts debhelper fakeroot \
git lsb-release rsync golang-go && \ git lsb-release rsync golang-go && \
apt-get -qy autoremove && \ apt-get -qy autoremove && \
apt-get -qq --purge remove -y .\*-doc$ && \ apt-get -qq --purge remove -y .\*-doc$ && \