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
Anton Palgunov
mkimage-profiles
Commits
11e1bf73
Commit
11e1bf73
authored
Nov 26, 2018
by
Alexey Shabalin
Committed by
Michael Shigorin
Dec 24, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tar2fs: add grub support
...for vm images; BIOS one tested, EFI one untested yet but will be required for AArch64 VMs it seems.
parent
f35351d8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tar2fs
bin/tar2fs
+6
-0
No files found.
bin/tar2fs
View file @
11e1bf73
...
...
@@ -300,6 +300,12 @@ image=/boot/vmlinuz
boot=
$BLOCKDEV
$LILO_COMMON
EOF
elif
[
-x
"
$ROOTFS
"
/usr/sbin/grub-efi-autoupdate
]
;
then
chroot
"
$ROOTFS
"
grub-mkconfig
-o
/boot/grub/grub.cfg
chroot
"
$ROOTFS
"
grub-install
elif
[
-x
"
$ROOTFS
"
/usr/sbin/grub-autoupdate
]
;
then
chroot
"
$ROOTFS
"
grub-mkconfig
-o
/boot/grub/grub.cfg
chroot
"
$ROOTFS
"
grub-install
--target
=
i386-pc
"
$LOOPDEV
"
fi
if
[
-n
"
$SUDO_USER
"
]
;
then
...
...
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