From cd20b842488cd48a51fe1c4dd77c6627618e8ce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E7=82=9C?= Date: Mon, 11 Sep 2017 10:46:57 +0800 Subject: [PATCH] fix kylin-get-udeb --- debian/changelog | 9 +++++++++ debian/patches/0059-fix-kylin-get-udeb.patch | 21 ++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 31 insertions(+) create mode 100644 debian/patches/0059-fix-kylin-get-udeb.patch diff --git a/debian/changelog b/debian/changelog index 62b4c32..5cc7671 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +live-build (3.0~a57-1ubuntu25k30) utopic; urgency=medium + + [ 谢炜 ] + * fix kylin-get-udeb + + [ Xie Wei ] + + -- 谢炜 Mon, 11 Sep 2017 10:47:08 +0800 + live-build (3.0~a57-1ubuntu25k29) utopic; urgency=medium [ 谢炜 ] diff --git a/debian/patches/0059-fix-kylin-get-udeb.patch b/debian/patches/0059-fix-kylin-get-udeb.patch new file mode 100644 index 0000000..aba82ea --- /dev/null +++ b/debian/patches/0059-fix-kylin-get-udeb.patch @@ -0,0 +1,21 @@ +From: =?utf-8?q?=E8=B0=A2=E7=82=9C?= +Date: Mon, 11 Sep 2017 10:21:27 +0800 +Subject: fix-kylin-get-udeb + +--- + scripts/build/lb_binary_debian-installer | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer +index 951552e..7405320 100755 +--- a/scripts/build/lb_binary_debian-installer ++++ b/scripts/build/lb_binary_debian-installer +@@ -642,7 +642,7 @@ then + mv chroot/root/binary.udeb ./ + cd binary.udeb + UDEBS="" +- for FILE in "$(ls *.udeb)" ++ for FILE in *.udeb + do + SOURCE="$(dpkg -f ${FILE} Source | awk '{ print $1 }')" + if [ -z "${SOURCE}" ] diff --git a/debian/patches/series b/debian/patches/series index 8c6bca7..505e08f 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -56,3 +56,4 @@ add-zesty.patch strip-pool-for-di.patch 0057-kylin-binary-trans-tbl.patch 0058-kylin-get-udeb.patch +0059-fix-kylin-get-udeb.patch