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
1279d8b7
Commit
1279d8b7
authored
Dec 04, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: copy default devicetree to ESP
Needed for booting in UEFI mode on single-board computers with U-boot.
parent
cacb3948
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tar2fs
bin/tar2fs
+5
-0
No files found.
bin/tar2fs
View file @
1279d8b7
...
...
@@ -381,6 +381,11 @@ if [ -f "$ROOTFS/boot/extlinux/extlinux.conf" ]; then
fi
fi
# Copy default devicetree to ESP
if
[
-L
"
$ROOTFS
"
/boot/dtb
]
&&
[
-n
"
$EFIPART
"
]
;
then
cp
-Lr
"
$ROOTFS
"
/boot/dtb
"
$EFIPARTFS
"
fi
# e2k
if
[
-f
"
$ROOTFS
/boot/boot.conf"
]
;
then
sed
-i
"s/LABEL=ROOT/
$ROOTDEV
/g"
"
$ROOTFS
/boot/boot.conf"
...
...
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