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
1
Issues
1
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
12f8d8e2
Commit
12f8d8e2
authored
May 12, 2019
by
Anton Midyukov
Committed by
Michael Shigorin
Jun 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: unified partition type selector
Currently, only e2k requires specific disk partitioning.
parent
d55bfec1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
11 deletions
+1
-11
tar2fs
bin/tar2fs
+1
-11
No files found.
bin/tar2fs
View file @
12f8d8e2
...
...
@@ -34,23 +34,13 @@ BOOTPART=
ARCH
=
"
$(
arch
)
"
# NB: sudo => no GLOBAL_ will do either; mind qemu-*
case
"
$ARCH
"
in
*
86
*
)
BLOCKDEV
=
"/dev/sda"
# might be /dev/vda for virtio
ROOTPART
=
"1"
;;
arm
*
)
BOOTFSTYPE
=
"ext2"
# support expected in every sane target uboot
BLOCKDEV
=
"/dev/mmcblk0p"
# ...hopefully...
BOOTPART
=
"1"
ROOTPART
=
"2"
;;
e2k
)
BOOTFSTYPE
=
"ext2"
# firmware knows it
BLOCKDEV
=
"/dev/sda"
# ...hopefully...
BOOTPART
=
"1"
ROOTPART
=
"2"
;;
mips
*
)
*
)
ROOTPART
=
"1"
BLOCKDEV
=
"/dev/sda"
;;
...
...
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