Skip to content

Commit

Permalink
Merge pull request #1889 from bcressey/release-fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bcressey authored Jan 6, 2022
2 parents efa97cf + f793284 commit d8698d9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/release/prepare-local.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
[Unit]
Description=Prepare Local Directory (/local)
DefaultDependencies=no
After=selinux-policy-files.service
Wants=selinux-policy-files.service
RequiresMountsFor=/local
RefuseManualStart=true
RefuseManualStop=true

[Service]
Type=oneshot
Expand Down
2 changes: 1 addition & 1 deletion packages/release/release.spec
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ install -p -m 0644 %{S:203} %{buildroot}%{_cross_templatedir}/hosts
install -d %{buildroot}%{_cross_udevrulesdir}
install -p -m 0644 %{S:1016} %{buildroot}%{_cross_udevrulesdir}/61-mount-cdrom.rules

ln -s %{_cross_unitdir}/preconfigured.target %{buildroot}%{_cross_unitdir}/default.target
ln -s preconfigured.target %{buildroot}%{_cross_unitdir}/default.target

%files
%{_cross_factorydir}%{_cross_sysconfdir}/nsswitch.conf
Expand Down
2 changes: 2 additions & 0 deletions packages/selinux-policy/selinux-policy-files.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=Copy SELinux policy files
DefaultDependencies=no
RefuseManualStart=true
RefuseManualStop=true

[Service]
Type=oneshot
Expand Down

0 comments on commit d8698d9

Please sign in to comment.