Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anton Palgunov
mkimage-profiles
Commits
8fe98c0a
Commit
8fe98c0a
authored
Oct 19, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: not fix tmpfiles.d/*.conf
The configs can be atypical, so changing the path can make it work incorrectly.
parent
47e281de
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
6 deletions
+0
-6
50-var-run-fix
features.in/init/rescue/image-scripts.d/50-var-run-fix
+0
-3
50-var-run-fix
features.in/init/rootfs/image-scripts.d/50-var-run-fix
+0
-3
No files found.
features.in/init/rescue/image-scripts.d/50-var-run-fix
View file @
8fe98c0a
#!/bin/sh
# this was a bunch of dirty complaints
sed
-i
's,/var/run,/run,'
/
{
etc,lib
}
/tmpfiles.d/
*
.conf
||
:
[
!
-L
/var/run
]
&&
rm
-r
/var/run
&&
ln
-s
../run /var/run
[
!
-L
/var/lock
]
&&
rm
-r
/var/lock
&&
ln
-s
../run/lock /var/lock
...
...
features.in/init/rootfs/image-scripts.d/50-var-run-fix
View file @
8fe98c0a
#!/bin/sh
# this was a bunch of dirty complaints
sed
-i
's,/var/run,/run,'
/
{
etc,lib
}
/tmpfiles.d/
*
.conf
||
:
[
!
-L
/var/run
]
&&
rm
-r
/var/run
&&
ln
-s
../run /var/run
[
!
-L
/var/lock
]
&&
rm
-r
/var/lock
&&
ln
-s
../run/lock /var/lock
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment