diff options
author | Holger Paradies <retabell@gmx.de> | 2018-11-16 17:35:36 +0100 |
---|---|---|
committer | Holger Paradies <retabell@gmx.de> | 2019-04-30 21:15:36 +0200 |
commit | 4be9427980e2a3300dcdf69716a16b9e398ee15c (patch) | |
tree | 2c32010d5f6e7da0e96a6f0877cf722c3e7dd1dd /config | |
parent | 942903af566dcb968f35d621d72b06efcb00242d (diff) | |
download | kanotix-4be9427980e2a3300dcdf69716a16b9e398ee15c.zip kanotix-4be9427980e2a3300dcdf69716a16b9e398ee15c.tar.gz |
buster installer hotix
Diffstat (limited to 'config')
-rwxr-xr-x | config/chroot_local-hooks/03-buster-installer-hotfix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-buster-installer-hotfix b/config/chroot_local-hooks/03-buster-installer-hotfix new file mode 100755 index 0000000..93c1ded --- /dev/null +++ b/config/chroot_local-hooks/03-buster-installer-hotfix @@ -0,0 +1,30 @@ +#!/bin/sh +for file in /root/config/*; do [ -r $file ] && . $file; done + +if [ "$LB_DISTRIBUTION" = "buster" ]; then + +# Installer Hotfix +cd /usr/share/acritoxinstaller/modules + +cat <<"EOF" >partmgr.patch +--- partmgr.orig 2018-11-16 16:22:52.000000000 +0100 ++++ partmgr 2018-11-16 17:06:30.473477117 +0100 +@@ -7,9 +7,8 @@ + get_root + TERM=xterm /sbin/"$1" "$2" + ;; +- gparted|qtparted) +- get_root X +- "$1" "$2" ++ gparted) ++ "/usr/sbin/$1" "$2" + ;; + esac + } + +EOF + +patch -p0 -i partmgr.patch +rm -f partmgr.patch +cd - +fi |