[Debian-live-changes] r1347 - in dists/trunk/live-helper: doc
examples
Daniel Baumann
daniel at alioth.debian.org
Mon May 7 09:04:38 UTC 2007
Author: daniel
Date: 2007-05-07 09:04:38 +0000 (Mon, 07 May 2007)
New Revision: 1347
Added:
dists/trunk/live-helper/examples/live-snapshot.sources.list
dists/trunk/live-helper/examples/snapshot-build.sh
Removed:
dists/trunk/live-helper/examples/svn-build.sh
Modified:
dists/trunk/live-helper/doc/ChangeLog
Log:
Modified: dists/trunk/live-helper/doc/ChangeLog
===================================================================
--- dists/trunk/live-helper/doc/ChangeLog 2007-05-07 09:02:10 UTC (rev 1346)
+++ dists/trunk/live-helper/doc/ChangeLog 2007-05-07 09:04:38 UTC (rev 1347)
@@ -1,3 +1,8 @@
+2007-05-07 Daniel Baumann <daniel at debian.org>
+
+ * examples/snapshot-build.sh, live-snapshot.sources.list:
+ - Added.
+
2007-05-06 Daniel Baumann <daniel at debian.org>
* templates/syslinux:
Added: dists/trunk/live-helper/examples/live-snapshot.sources.list
===================================================================
--- dists/trunk/live-helper/examples/live-snapshot.sources.list 2007-05-07 09:02:10 UTC (rev 1346)
+++ dists/trunk/live-helper/examples/live-snapshot.sources.list 2007-05-07 09:04:38 UTC (rev 1347)
@@ -0,0 +1,9 @@
+## This is a sources.list for live-helper(7) to use packages from the
+## Debian Live Snapshot repository.
+##
+## To enable it, copy this file to your config/chroot_sources directory, once
+## as e.g. live-snapshot.build and once as live-snapshot.image.
+
+# Debian Live Snapshots
+deb http://live.debian.net/debian-snapshot/ ./
+deb-src http://live.debian.net/debian-snapshot/ ./
Copied: dists/trunk/live-helper/examples/snapshot-build.sh (from rev 1346, dists/trunk/live-helper/examples/svn-build.sh)
Deleted: dists/trunk/live-helper/examples/svn-build.sh
===================================================================
--- dists/trunk/live-helper/examples/svn-build.sh 2007-05-07 09:02:10 UTC (rev 1346)
+++ dists/trunk/live-helper/examples/svn-build.sh 2007-05-07 09:04:38 UTC (rev 1347)
@@ -1,56 +0,0 @@
-#!/bin/sh -x
-
-# Needs: build-essential fakeroot lsb-release svn [...]
-
-PACKAGES="live-helper live-initramfs"
-SERVER="/srv/debian-unofficial/ftp/debian-live/debian-snapshot"
-
-for PACKAGE in ${PACKAGES}
-do
- # Creating directory
- mkdir -p /srv/tmp2/${PACKAGE}
-
- # Getting sources
- cd /srv/tmp2
- svn co svn://svn.debian.org/debian-live/dists/trunk/${PACKAGE} ${PACKAGE}
- cd "${OLDPWD}"
-
- # Getting revision
- cd /srv/tmp2/${PACKAGE}
- REVISION="`svn info | awk '/Last Changed Rev: / { print $4 }'`"
- mv /srv/tmp2/${PACKAGE} /srv/tmp2/${PACKAGE}-${REVISION}
- cd "${OLDPWD}"
-
- # Building package
- cd /srv/tmp2/${PACKAGE}-${REVISION}
- dch --newversion ${REVISION} --distribution UNRELEASED Autobuild snapshot.
- dpkg-buildpackage -rfakeroot -sa -uc -us
- cd "${OLDPWD}"
- rm -rf cd /srv/tmp2/${PACKAGE}-${REVISION}
-
- # Creating directory
- if [ ! -d "${SERVER}" ]
- then
- mkdir -p "${SERVER}"
- fi
-
- # Removing old packages
- if ls "${SERVER}"/"${PACKAGE}"* &> /dev/null
- then
- rm -f "${SERVER}"/"${PACKAGE}"*
- fi
-
- # Moving packages
- mv /srv/tmp2/${PACKAGE}* "${SERVER}"
-done
-
-# Updating indices
-cd "${SERVER}"
-apt-ftparchive packages ./ > Packages
-gzip -9 -c Packages > Packages.gz
-
-apt-ftparchive sources ./ > Sources
-gzip -9 -c Sources > Sources.gz
-cd "${OLDPWD}"
-
-rm -rf /srv/tmp2
More information about the Debian-live-changes
mailing list