From 56c410a83fb55533a05dd31f2c918a65e293a682 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E7=82=9C?= Date: Fri, 17 May 2019 10:36:24 +0800 Subject: [PATCH] create component Release file locally --- debian/changelog | 7 +++++++ .../0075-create-component-Release-file-locally.patch | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2168686..bcbbf0c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +live-build (3.0~a57-1ubuntu33k44) bionic; urgency=medium + + [ 谢炜 ] + * create component Release file locally (fix) + + -- Xie Wei Fri, 17 May 2019 10:36:28 +0800 + live-build (3.0~a57-1ubuntu33k43) bionic; urgency=medium [ 谢炜 ] diff --git a/debian/patches/0075-create-component-Release-file-locally.patch b/debian/patches/0075-create-component-Release-file-locally.patch index 7f4003f..3be6932 100644 --- a/debian/patches/0075-create-component-Release-file-locally.patch +++ b/debian/patches/0075-create-component-Release-file-locally.patch @@ -7,7 +7,7 @@ Subject: create component Release file locally 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer -index 6fd8270..88ab0ac 100755 +index 6fd8270..d23b059 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -610,8 +610,17 @@ then @@ -18,7 +18,7 @@ index 6fd8270..88ab0ac 100755 + # kylin: not download component Release, but create locally # Download_file binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Release "${LB_PARENT_MIRROR_CHROOT}"/dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/${_ARCHIVE_AREA}/binary-"${LB_ARCHITECTURES}"/Release + ORIGIN="$(echo $LB_ISO_VOLUME | cut -d '-' -f 1)" -+ cat > "${LB_PARENT_MIRROR_CHROOT}"/dists/"${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}"/${_ARCHIVE_AREA}/binary-"${LB_ARCHITECTURES}"/Release << EOF ++ cat > binary/dists/${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION}/${_ARCHIVE_AREA}/binary-${LB_ARCHITECTURES}/Release << EOF +Archive: ${LB_PARENT_DEBIAN_INSTALLER_DISTRIBUTION} +Version: ${_VERSION} +Component: ${_ARCHIVE_AREA}