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
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
efa57b91
Commit
efa57b91
authored
Nov 04, 2019
by
Anton Midyukov
Committed by
Michael Shigorin
Jan 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
live, init: move 65-os-release from live to init
Install /etc/*-release files if needed. Reported-by:
Ivan A. Melnikov
<
iv@altlinux.org
>
parent
5e20cec7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
7 deletions
+20
-7
65-os-release
features.in/init/rescue/image-scripts.d/65-os-release
+10
-0
65-os-release
features.in/init/rootfs/image-scripts.d/65-os-release
+10
-0
65-os-release
features.in/live/live/image-scripts.d/65-os-release
+0
-7
No files found.
features.in/init/rescue/image-scripts.d/65-os-release
0 → 100755
View file @
efa57b91
#!/bin/sh
# Install /etc/*-release files if needed
if
[
-d
/usr/share/branding-data-current
]
;
then
[
-e
/etc/altlinux-release
]
||
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/altlinux-release
[
-e
/etc/os-release
]
||
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/os-release
fi
features.in/init/rootfs/image-scripts.d/65-os-release
0 → 100755
View file @
efa57b91
#!/bin/sh
# Install /etc/*-release files if needed
if
[
-d
/usr/share/branding-data-current
]
;
then
[
-e
/etc/altlinux-release
]
||
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/altlinux-release
[
-e
/etc/os-release
]
||
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/os-release
fi
features.in/live/live/image-scripts.d/65-os-release
deleted
100755 → 0
View file @
5e20cec7
#!/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