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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
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
7702cbce
Commit
7702cbce
authored
Dec 01, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: Always add BOOTPART, when ROOTFSTYPE != ехт4
parent
1c56df5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
tar2fs
bin/tar2fs
+4
-9
No files found.
bin/tar2fs
View file @
7702cbce
...
...
@@ -89,15 +89,10 @@ fi
# NB: xfs doesn't have a spare sector for the bootloader
ROOTFSTYPE
=
"
${
4
:-
ext4
}
"
if
[
-f
"
$ROOTFS
/boot/extlinux/extlinux.conf"
]
&&
[
"
$ROOTFSTYPE
"
!=
ext4
]
;
then
if
[
-n
"
$EFIPART
"
]
;
then
BOOTPART
=
"2"
ROOTPART
=
"3"
else
BOOTPART
=
"1"
ROOTPART
=
"2"
fi
BOOTFSTYPE
=
"ext4"
if
[
"
$ROOTFSTYPE
"
!=
ext4
]
;
then
BOOTPART
=
"
$ROOTPART
"
ROOTPART
=
"
$((
$ROOTPART
+
1
))
"
[
-n
"
$BOOTFSTYPE
"
]
||
BOOTFSTYPE
=
ext4
fi
PARTTABLE
=
"
$7
"
...
...
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