diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 | ||||
-rw-r--r-- | fix_grub_install.patch | 12 |
3 files changed, 18 insertions, 1 deletions
@@ -21,6 +21,7 @@ pkgbase = ucloner source = ucloner.png source = modify_path.patch source = fix_package_querying.patch + source = fix_grub_install.patch md5sums = b7bf49a5516cb9e00943e06e3e73adf2 md5sums = 3dac4b28900e7be1068b502b7b848028 md5sums = 15efc60875b77125f8d5399797306955 @@ -28,6 +29,7 @@ pkgbase = ucloner md5sums = 1f913fe9ca34481134bc36e1045e9a20 md5sums = 4966de605892a3a5c52d7fdd4b768f0d md5sums = c84c4aaba3bf5c7fbb6126190cb341ca + md5sums = 1ce4d37e5531797196104c08825db0f7 pkgname = ucloner @@ -16,6 +16,7 @@ source=( 'ucloner.png' 'modify_path.patch' 'fix_package_querying.patch' + 'fix_grub_install.patch' ) md5sums=('b7bf49a5516cb9e00943e06e3e73adf2' @@ -24,13 +25,15 @@ md5sums=('b7bf49a5516cb9e00943e06e3e73adf2' '32a9a04b595890e50fa10fe51823469a' '1f913fe9ca34481134bc36e1045e9a20' '4966de605892a3a5c52d7fdd4b768f0d' - 'c84c4aaba3bf5c7fbb6126190cb341ca') + 'c84c4aaba3bf5c7fbb6126190cb341ca' + '1ce4d37e5531797196104c08825db0f7') prepare() { cd "${srcdir}/UCloner-$pkgver-$rev" patch -p1 < "${srcdir}/modify_path.patch" patch -p1 < "${srcdir}/fix_package_querying.patch" + patch -p1 < "${srcdir}/fix_grub_install.patch" cd program rm *.pyc find -name '*.py' | xargs sed -i 's|#!/usr/bin/python$|#!/usr/bin/env python2|' diff --git a/fix_grub_install.patch b/fix_grub_install.patch new file mode 100644 index 000000000000..1d5a9efa321b --- /dev/null +++ b/fix_grub_install.patch @@ -0,0 +1,12 @@ +diff -Naur a/program/sh/install_grub.sh b/program/sh/install_grub.sh +--- a/program/sh/install_grub.sh 2010-07-14 12:53:44.000000000 +0800 ++++ b/program/sh/install_grub.sh 2015-10-26 14:15:50.935032106 +0800 +@@ -79,7 +79,7 @@ + + + echo "Generating grub.cfg ..." +-target_cmd "$target_dir" update-grub ++target_cmd "$target_dir" grub-mkconfig -o /boot/grub/grub.cfg + + + if [ $? -eq 0 ] ; then |