projects
/
grml2usb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6868425
)
Support usage of grml2usb on EFI systems
author
Michael Prokop
<mika@grml.org>
Wed, 25 Feb 2015 13:41:32 +0000
(14:41 +0100)
committer
Michael Prokop
<mika@grml.org>
Wed, 25 Feb 2015 14:57:19 +0000
(15:57 +0100)
Closes: #768906
debian/control
patch
|
blob
|
history
grml2usb
patch
|
blob
|
history
diff --git
a/debian/control
b/debian/control
index
3b11cd7
..
c91f590
100644
(file)
--- a/
debian/control
+++ b/
debian/control
@@
-22,7
+22,7
@@
Depends: mtools,
python-parted,
realpath,
rsync,
- syslinux | grub-pc,
+ syslinux | grub-pc
| grub-efi-amd64
,
${misc:Depends},
${shlibs:Depends}
Recommends: syslinux,
diff --git
a/grml2usb
b/grml2usb
index
e608ac1
..
072f1b3
100755
(executable)
--- a/
grml2usb
+++ b/
grml2usb
@@
-493,7
+493,8
@@
def install_grub(device):
for opt in ["", "--force"]:
logging.debug("grub-install --recheck %s --no-floppy --root-directory=%s %s",
opt, device_mountpoint, grub_device)
- proc = subprocess.Popen([GRUB_INSTALL, "--recheck", opt, "--no-floppy",
+ proc = subprocess.Popen([GRUB_INSTALL, "--recheck", opt,
+ "--no-floppy", "--target=i386-pc",
"--root-directory=%s" % device_mountpoint, grub_device],
stdout=file(os.devnull, "r+"))
proc.wait()