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
410a00d4
Commit
410a00d4
authored
Oct 30, 2017
by
Mikhail Efremov
Committed by
Michael Shigorin
Jul 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live: Install /etc/*-release files if needed
Seems some other branding-*-release can be installed in live chroot and post of needed branding-*-release package don't copy these files.
parent
e307a3db
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
65-os-release
features.in/live/live/image-scripts.d/65-os-release
+7
-0
No files found.
features.in/live/live/image-scripts.d/65-os-release
0 → 100755
View file @
410a00d4
#!/bin/sh
# Install /etc/*-release files on live if needed
if
[
-d
/usr/share/branding-data-current
]
&&
\
!
[
-e
/etc/altlinux-release
]
&&
\
!
[
-e
/etc/os-release
]
;
then
cp
-a
/usr/share/branding-data-current/release/
*
-release
/etc/
fi
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