From f13bb5ce3da63e4c1352f1b652e51095e286368b Mon Sep 17 00:00:00 2001 From: Philip Meulengracht Date: Thu, 6 Jun 2024 13:25:50 +0200 Subject: [PATCH] slices: fix linting issues --- slices/libpam-runtime.yaml | 10 +++++----- slices/libsemanage-common.yaml | 2 +- slices/libwrap0.yaml | 2 +- slices/openssh-client.yaml | 2 +- slices/sensible-utils.yaml | 3 ++- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/slices/libpam-runtime.yaml b/slices/libpam-runtime.yaml index 794a5183e..58562cea9 100644 --- a/slices/libpam-runtime.yaml +++ b/slices/libpam-runtime.yaml @@ -13,12 +13,12 @@ slices: # based on input from /usr/share/pam-configs/* and outputs five different files into # /etc/pam.d/common-{account,auth,password,session,session-non-interactive}. The contents # of those are directly derived from the contents of the pam-configs. - # Other packages can carry these pam-configs too, and usually invoke pam-auth-update to regenerate - # these five files mentioned. - # pam-config and pam-defaults slices are only used for generation, and are useless for anything else. - + # Other packages can carry these pam-configs too, and usually invoke pam-auth-update + # to regenerate these five files mentioned. + # pam-config and pam-defaults slices are only used for generation, and are useless + # for anything else. - # Applications that need libpam for now should just rely on the config and var slices for now - + # Applications that need libpam for now should just rely on the config and var slices for now - # until appropriate solution for emulating what pam-auth-update can do (or maybe something else). config: contents: diff --git a/slices/libsemanage-common.yaml b/slices/libsemanage-common.yaml index bb92b7952..decbcfb05 100644 --- a/slices/libsemanage-common.yaml +++ b/slices/libsemanage-common.yaml @@ -7,7 +7,7 @@ slices: config: contents: /etc/selinux/semanage.conf: - + copyright: contents: /usr/share/doc/libsemanage-common/copyright: diff --git a/slices/libwrap0.yaml b/slices/libwrap0.yaml index a4a1425d9..05d9ae829 100644 --- a/slices/libwrap0.yaml +++ b/slices/libwrap0.yaml @@ -11,7 +11,7 @@ slices: /usr/lib/*-linux-*/libwrap.so.0*: # The two host-files written by these slices are supposed to dependant on - # the fact that these files do not already exist. + # the fact that these files do not already exist. # TODO: Use mutation scripts to only write these on a conditional that these # files don't already exist once starlark supports this, and once conflict # resolution is implemented. diff --git a/slices/openssh-client.yaml b/slices/openssh-client.yaml index 23e2d8f86..cfe783ad2 100644 --- a/slices/openssh-client.yaml +++ b/slices/openssh-client.yaml @@ -6,7 +6,7 @@ essential: slices: bins: # openssh-client depends on adduser as well to create or update - # the ssh agent user during package install - however we + # the ssh agent user during package install - however we # don't support this currently so adduser is not added here. essential: - libc6_libs diff --git a/slices/sensible-utils.yaml b/slices/sensible-utils.yaml index 7debf7d94..85feebae3 100644 --- a/slices/sensible-utils.yaml +++ b/slices/sensible-utils.yaml @@ -11,8 +11,9 @@ slices: /usr/bin/sensible-editor: /usr/bin/sensible-pager: /usr/bin/sensible-terminal: - + auxillary-bins: + contents: /usr/share/sensible-utils/bin/gettext: /usr/share/sensible-utils/bin/realpath: