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
5518192d
You need to sign in or sign up before continuing.
Commit
5518192d
authored
Jan 20, 2022
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init: not copy os-release in live, rescue (more not needed)
The problem was earlier bacause of that the with /etc/os-release package was installed too early. See also commit
8551e710
parent
665620cd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
65-os-release
features.in/init/rescue/image-scripts.d/65-os-release
+0
-15
65-os-release
features.in/init/rootfs/image-scripts.d/65-os-release
+0
-15
No files found.
features.in/init/rescue/image-scripts.d/65-os-release
deleted
100755 → 0
View file @
665620cd
#!/bin/sh
# Install /etc/*-release files if needed
rel_file
=
for
rel_file
in
altlinux-release os-release
;
do
if
!
[
-e
/etc/
"
$rel_file
"
]
;
then
# in case it is dangling symlink
rm
-f
/etc/
"
$rel_file
"
if
[
-r
/usr/share/branding-data-current/release/
"
$rel_file
"
]
;
then
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/
"
$rel_file
"
elif
[
-r
/usr/lib/
"
$rel_file
"
]
;
then
cp
-a
/usr/lib/
"
$rel_file
"
/etc/
"
$rel_file
"
fi
fi
done
features.in/init/rootfs/image-scripts.d/65-os-release
deleted
100755 → 0
View file @
665620cd
#!/bin/sh
# Install /etc/*-release files if needed
rel_file
=
for
rel_file
in
altlinux-release os-release
;
do
if
!
[
-e
/etc/
"
$rel_file
"
]
;
then
# in case it is dangling symlink
rm
-f
/etc/
"
$rel_file
"
if
[
-r
/usr/share/branding-data-current/release/
"
$rel_file
"
]
;
then
cp
-at
/etc
--
\
/usr/share/branding-data-current/release/
"
$rel_file
"
elif
[
-r
/usr/lib/
"
$rel_file
"
]
;
then
cp
-a
/usr/lib/
"
$rel_file
"
/etc/
"
$rel_file
"
fi
fi
done
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