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
b91fe5a2
You need to sign in or sign up before continuing.
Commit
b91fe5a2
authored
Oct 01, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oem: Added use/oem/no-cleanup
This target disable cleanup install packages after finishing alterator-setup.
parent
81c21c7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
config.mk
features.in/oem/config.mk
+4
-0
99-oem-setup
features.in/oem/rootfs/image-scripts.d/99-oem-setup
+5
-0
No files found.
features.in/oem/config.mk
View file @
b91fe5a2
...
@@ -7,9 +7,13 @@ use/oem: use/services use/branding
...
@@ -7,9 +7,13 @@ use/oem: use/services use/branding
@$(call try,OEM_TARGET,setup)
@$(call try,OEM_TARGET,setup)
@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
@$(call add,DEFAULT_SERVICES_ENABLE,$$(OEM_TARGET))
@$(call xport,OEM_TARGET)
@$(call xport,OEM_TARGET)
@$(call xport,OEM_NO_CLEANUP)
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
use/oem/vnc: use/oem use/x11-vnc use/net-eth/dhcp
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
@$(call add,THE_PACKAGES,alterator-setup-x11vnc)
@$(call set,OEM_TARGET,setup-vnc)
@$(call set,OEM_TARGET,setup-vnc)
@$(call set,NMCTL,no)
@$(call set,NMCTL,no)
@$(call xport,NMCTL)
@$(call xport,NMCTL)
use/oem/no-cleanup: use/oem
@$(call set,OEM_NO_CLEANUP,yes)
features.in/oem/rootfs/image-scripts.d/99-oem-setup
View file @
b91fe5a2
...
@@ -9,4 +9,9 @@ TARGET=/lib/systemd/system/$GLOBAL_OEM_TARGET.target
...
@@ -9,4 +9,9 @@ TARGET=/lib/systemd/system/$GLOBAL_OEM_TARGET.target
echo
"LANG=en_US.utf-8"
>>
/etc/sysconfig/i18n
echo
"LANG=en_US.utf-8"
>>
/etc/sysconfig/i18n
# Disable cleanup alterator-setup
[
!
"
$GLOBAL_OEM_NO_CLEANUP
"
=
yes
]
||
sed
-i
's/^REMOVE_SELF=.*/REMOVE_SELF=0/'
/etc/alterator-setup/config
cat
/etc/alterator-setup/config
:
:
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