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
Ximper Linux
mkimage-profiles
Commits
7fb3297c
Commit
7fb3297c
authored
Oct 12, 2023
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oem: fix enabled oem.target
the creation of a symlink was broken, since there is a default.target
parent
a73683b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
99-oem-setup
features.in/oem/rootfs/image-scripts.d/99-oem-setup
+5
-1
No files found.
features.in/oem/rootfs/image-scripts.d/99-oem-setup
View file @
7fb3297c
...
@@ -4,8 +4,12 @@
...
@@ -4,8 +4,12 @@
TARGET
=
/lib/systemd/system/
$GLOBAL_OEM_TARGET
.target
TARGET
=
/lib/systemd/system/
$GLOBAL_OEM_TARGET
.target
[
!
-s
"
$TARGET
"
]
||
if
[
-s
"
$TARGET
"
]
;
then
[
-s
/etc/systemd/system/default.target
]
&&
mv
/etc/systemd/system/default.target
{
,.bak
}
||
rm
-f
/etc/systemd/system/default.target
ln
-s
"
$TARGET
"
/etc/systemd/system/default.target
ln
-s
"
$TARGET
"
/etc/systemd/system/default.target
fi
# Disable cleanup alterator-setup
# Disable cleanup alterator-setup
[
!
"
$GLOBAL_OEM_NO_CLEANUP
"
=
yes
]
||
[
!
"
$GLOBAL_OEM_NO_CLEANUP
"
=
yes
]
||
...
...
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