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
95ced6d0
Commit
95ced6d0
authored
Jun 16, 2020
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: Added Raspberry Pi 4 support
Since the main goal for aarch64 and armh for us is Raspberry Pi, it is always worth creating a fat32 partition for these arches. At least for now.
parent
937c073e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
tar2fs
bin/tar2fs
+11
-0
No files found.
bin/tar2fs
View file @
95ced6d0
...
...
@@ -55,6 +55,13 @@ ppc*)
BOOTLOADERPARTSIZEM
=
"8"
ROOTPART
=
"2"
;;
arm
*
|
aarch64
)
BLOCKDEV
=
"/dev/sda"
EFIPART
=
"1"
EFIPARTSIZEM
=
"256"
EFIPARTFSTYPE
=
"fat"
ROOTPART
=
"2"
;;
*
)
if
[
"
$BOOTLOADER
"
==
grub-efi
]
;
then
EFIPART
=
"1"
...
...
@@ -349,6 +356,10 @@ echo "** end of boot.conf"
popd
# Update cmdline.txt for Raspberry Pi
[
-f
"
$ROOTFS
/boot/efi/cmdline.txt"
]
&&
sed
-i
"s/LABEL=ROOT/
$ROOTDEV
/"
"
$ROOTFS
/boot/efi/cmdline.txt"
# Setup bootloader
case
"
$BOOTLOADER
"
in
uboot
)
...
...
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