Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
814
Issues
814
List
Boards
Labels
Milestones
Merge Requests
45
Merge Requests
45
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
7a2566ec
Commit
7a2566ec
authored
Feb 22, 2019
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts/genrootfs.sh: make sure root login is disabled
(cherry picked from commit
72c7a7a3
)
parent
6d5a5abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
genrootfs.sh
scripts/genrootfs.sh
+3
-0
No files found.
scripts/genrootfs.sh
View file @
7a2566ec
...
...
@@ -39,6 +39,9 @@ ${APK:-apk} fetch --keys-dir "$keys_dir" --no-cache \
--repositories-file
"
$repositories_file
"
\
--stdout
--quiet
alpine-base |
tar
-zx
-C
"
$tmp
"
etc/
# make sure root login is disabled
sed
-i
-e
's/^root::/root:!:/'
"
$tmp
"
/etc/shadow
branch
=
edge
VERSION_ID
=
$(
awk
-F
=
'$1=="VERSION_ID" {print $2}'
"
$tmp
"
/etc/os-release
)
case
$VERSION_ID
in
...
...
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