-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust SPEC to UsersAndGroups/#_dynamic_allocation
- Loading branch information
1 parent
cb0f879
commit 17fe787
Showing
3 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
functional/install-rpm-with-ima-signature/rpm-ima-sign-test.spec.f42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# build with | ||
# $ rpmbuild -bb -D 'destdir /some/destination/dir' rpm-ima-sign-test.spec | ||
|
||
Summary: This is the rpm-ima-sign-test package | ||
Name: rpm-ima-sign-test | ||
Version: 1 | ||
Release: 1 | ||
Group: System Environment/Base | ||
License: GPL | ||
BuildArch: noarch | ||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) | ||
Source0: rpm-ima-sign-test.sysusers | ||
%{?sysusers_requires_compat} | ||
%description | ||
|
||
This is a rpm-ima-sign-test test package | ||
|
||
%pre | ||
%sysusers_create_compat %{SOURCE0} | ||
|
||
%build | ||
echo -e '#!/bin/bash\necho' > rpm-ima-sign-test-echo | ||
|
||
%install | ||
install -D -m 755 rpm-ima-sign-test-echo %{buildroot}/%{destdir}/rpm-ima-sign-test-echo | ||
|
||
%files | ||
%{destdir}/rpm-ima-sign-test-echo | ||
|
||
%changelog | ||
* Wed Jan 15 2025 Karel Srot <[email protected]> - 0.1-1 | ||
- Update packaging |
2 changes: 2 additions & 0 deletions
2
functional/install-rpm-with-ima-signature/rpm-ima-sign-test.sysusers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#Type Name ID GECOS Home directory Shell | ||
u limetester - "limetester user" /home/limetester /sbin/nologin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters