Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakub Panek
aports
Commits
7058a538
Commit
7058a538
authored
16 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
initramfs-init: use new apk option --initdb
parent
204df011
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
initramfs-init
+2
-2
2 additions, 2 deletions
initramfs-init
with
2 additions
and
2 deletions
initramfs-init
+
2
−
2
View file @
7058a538
...
@@ -152,8 +152,8 @@ fi
...
@@ -152,8 +152,8 @@ fi
# install new root
# install new root
ebegin
"Installing packages to root filesystem"
ebegin
"Installing packages to root filesystem"
mount
-t
tmpfs
-o
size
=
50M tmpfs
$NEWROOT
mount
-t
tmpfs
-o
size
=
50M tmpfs
$NEWROOT
apk
create
--root
/newroot
apk
add
--root
/newroot
--repository
/media/cdrom/apks
\
apk add
--root
/newroot
--repository
/media/cdrom/apks
--quiet
--progress
$pkgs
--initdb
--quiet
--progress
$pkgs
eend
$?
eend
$?
# switch over to new root
# switch over to new root
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment