Commit 12f8d8e2 authored by Anton Midyukov's avatar Anton Midyukov Committed by Michael Shigorin

tar2fs: unified partition type selector

Currently, only e2k requires specific disk partitioning.
parent d55bfec1
...@@ -34,23 +34,13 @@ BOOTPART= ...@@ -34,23 +34,13 @@ BOOTPART=
ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-* ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-*
case "$ARCH" in 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) e2k)
BOOTFSTYPE="ext2" # firmware knows it BOOTFSTYPE="ext2" # firmware knows it
BLOCKDEV="/dev/sda" # ...hopefully... BLOCKDEV="/dev/sda" # ...hopefully...
BOOTPART="1" BOOTPART="1"
ROOTPART="2" ROOTPART="2"
;; ;;
mips*) *)
ROOTPART="1" ROOTPART="1"
BLOCKDEV="/dev/sda" BLOCKDEV="/dev/sda"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment