[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnewsense-dev] Live-build (was: Hello gNewSense Community!)
From: |
gNewSense Live user |
Subject: |
Re: [Gnewsense-dev] Live-build (was: Hello gNewSense Community!) |
Date: |
Thu, 31 Oct 2013 01:22:51 +0800 |
On Sat, 2013-10-26 at 11:55 +0800, gNewSense Live user wrote:
> On Tue, 2013-10-22 at 21:18 +0800, gNewSense Live user wrote:
>
> > For debian-cd, I can't build a Parkes CD by using debian-cd of Parkes.
> > There are several problems not only some symbolic links but also the
> > scripts themselves. Now I am using debmirror instead of debian-cd.
> >
> I've reported a bug [1] for debian-cd.
>
> [1] https://savannah.nongnu.org/bugs/?40379
>
> Thanks.
>
The following is a patch to let debian-cd work.
diff -Nru debian-cd-3.1.5gnewsense1/debian/changelog
debian-cd-3.1.5gnewsense2/debian/changelog
--- debian-cd-3.1.5gnewsense1/debian/changelog 2013-10-29
03:31:45.000000000 +0800
+++ debian-cd-3.1.5gnewsense2/debian/changelog 2013-10-31
01:01:13.000000000 +0800
@@ -1,3 +1,9 @@
+debian-cd (3.1.5gnewsense2) parkes; urgency=low
+
+ * Add path $BASEDIR/tools/ to execute which_deb
+
+ -- gNewSense Live user <address@hidden> Thu, 31 Oct 2013
01:00:29 +0800
+
debian-cd (3.1.5gnewsense1) parkes; urgency=low
* Support gNewSense Parkes. (Closes: SV #40379)
diff -Nru debian-cd-3.1.5gnewsense1/tools/update_tasks
debian-cd-3.1.5gnewsense2/tools/update_tasks
--- debian-cd-3.1.5gnewsense1/tools/update_tasks 2010-12-09
23:58:22.000000000 +0800
+++ debian-cd-3.1.5gnewsense2/tools/update_tasks 2013-10-31
01:00:00.000000000 +0800
@@ -152,7 +152,7 @@
# Look for the coreutils package (which should exist in all archs, and
is
# a non -all package) to determine a valid arch for the rest of this
# script
-arch=$(which_deb $MIRROR $CODENAME coreutils binary | sed -e
"s/\.deb//" -e "s/.*_//")
+arch=$($BASEDIR/tools/which_deb $MIRROR $CODENAME coreutils binary |
sed -e "s/\.deb//" -e "s/.*_//")
# We need to gunzip a copy of the appropriate Packages.gz file(s)
TMP_PKG=$TDIR/Packages
zcat $MIRROR/dists/$CODENAME/main/binary-$arch/Packages.gz > $TMP_PKG
Thanks.