save installer.udeb cache when use custom udeb list
This commit is contained in:
parent
1386076e1c
commit
c818c3b611
|
@ -1,3 +1,11 @@
|
|||
live-build (3.0~a57-1ubuntu33k42) bionic; urgency=medium
|
||||
|
||||
[ 谢炜 ]
|
||||
* disable download of component Release
|
||||
* save installer.udeb cache when use custom udeb list
|
||||
|
||||
-- Xie Wei <xiewei@kylinos.cn> Thu, 28 Feb 2019 08:58:38 +0800
|
||||
|
||||
live-build (3.0~a57-1ubuntu33k41) bionic; urgency=medium
|
||||
|
||||
[ 谢炜 ]
|
||||
|
|
30
debian/patches/0074-save-installer.udeb-cache-when-use-custom-udeb-list.patch
vendored
Normal file
30
debian/patches/0074-save-installer.udeb-cache-when-use-custom-udeb-list.patch
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
From: =?utf-8?b?6LCi54Kc?= <xiewei@kylinos.cn>
|
||||
Date: Thu, 28 Feb 2019 08:58:01 +0800
|
||||
Subject: save installer.udeb cache when use custom udeb list
|
||||
|
||||
---
|
||||
scripts/build/lb_binary_debian-installer | 10 +++++-----
|
||||
1 file changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
|
||||
index b0072ea..6fd8270 100755
|
||||
--- a/scripts/build/lb_binary_debian-installer
|
||||
+++ b/scripts/build/lb_binary_debian-installer
|
||||
@@ -706,12 +706,12 @@ then
|
||||
fi
|
||||
fi
|
||||
done
|
||||
-
|
||||
- # Caching udebs
|
||||
- rm -rf ../cache/packages.binary_debian-installer.udeb
|
||||
- mkdir -p ../cache/packages.binary_debian-installer.udeb
|
||||
- cp *.udeb ../cache/packages.binary_debian-installer.udeb
|
||||
fi
|
||||
+
|
||||
+ # Caching udebs
|
||||
+ rm -rf ../cache/packages.binary_debian-installer.udeb
|
||||
+ mkdir -p ../cache/packages.binary_debian-installer.udeb
|
||||
+ cp *.udeb ../cache/packages.binary_debian-installer.udeb
|
||||
|
||||
# Including local udebs
|
||||
if Find_files ../config/packages.binary/*_"${LB_ARCHITECTURES}".udeb || Find_files ../config/packages/*_"${LB_ARCHITECTURES}".udeb
|
|
@ -71,3 +71,4 @@ strip-pool-for-di.patch
|
|||
0071-add-release-cosmic-and-disco.patch
|
||||
0072-add-release-of-kylinos-cm-community.patch
|
||||
0073-dont-download-component-Release.patch
|
||||
0074-save-installer.udeb-cache-when-use-custom-udeb-list.patch
|
||||
|
|
Loading…
Reference in New Issue