Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-conf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
19
Issues
19
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
alpine-conf
Commits
9ed0b9ef
Commit
9ed0b9ef
authored
Dec 14, 2015
by
Natanael Copa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup-disk: fix bashism
parent
52bbb477
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
setup-disk.in
setup-disk.in
+2
-2
No files found.
setup-disk.in
View file @
9ed0b9ef
...
...
@@ -541,7 +541,7 @@ setup_boot_dev() {
--metadata
=
0.90
--quiet
--run
$@
$missing
||
return
1
bootdev
=
/dev/md0
fi
[
"
$BOOTFS
"
=
=
"btrfs"
]
&&
mkfs_args
=
""
[
"
$BOOTFS
"
=
"btrfs"
]
&&
mkfs_args
=
""
mkfs.
$BOOTFS
$mkfs_args
$bootdev
BOOT_DEV
=
"
$bootdev
"
}
...
...
@@ -733,7 +733,7 @@ data_only_disk_install() {
# setup
setup_root
()
{
local
root_dev
=
"
$1
"
boot_dev
=
"
$2
"
mkfs_args
=
"-q"
[
"
$ROOTFS
"
=
=
"btrfs"
]
&&
mkfs_args
=
""
[
"
$ROOTFS
"
=
"btrfs"
]
&&
mkfs_args
=
""
mkfs.
$ROOTFS
$mkfs_args
"
$root_dev
"
mkdir
-p
"
$SYSROOT
"
mount
-t
$ROOTFS
$root_dev
"
$SYSROOT
"
||
return
1
...
...
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