#709394: policy violation (12.5 Copyright information) を修正。
piuparts に --scriptsdir /etc/piuparts/scripts をつけないと再現できないことに気がつくのに時間がかかった。
アーカイブに入ってない新パッケージを piuparts でテストするときにレポジトリを作るの面倒だなーと思ってたら、reprepro というツールを使えばいいみたい。> Setup a private repo using reprepro
こんなスクリプトを作ってみた。
#/bin/sh ROOTDIR=/tmp/www rm -rf ${ROOTDIR} mkdir -p ${ROOTDIR}/debian/conf/ cat << _EOF_ > ${ROOTDIR}/debian/conf/distributions Codename: sid Architectures: amd64 i386 source Components: main contrib non-free UDebComponents: main Codename: jessie Architectures: amd64 i386 source Components: main contrib non-free UDebComponents: main _EOF_ reprepro -b ${ROOTDIR}/debian export jessie reprepro -b ${ROOTDIR}/debian export sid reprepro -b ${ROOTDIR}/debian -C main includedeb sid /tmp/tomoe/*tomoe*0.6.0-4_*deb cd $ROOTDIR && /usr/bin/ruby1.9.1 /usr/bin/thin start -A file
レポジトリを作成して Thin でローカルに公開する。そして、
sudo piuparts \ --skip-logrotatefiles-test \ --warn-on-others \ --no-eatmydata \ --scriptsdir /etc/piuparts/scripts \ --warn-on-leftovers-after-purge \ --do-not-verify-signatures \ --mirror http://ftp.jp.debian.org/debian \ --mirror http://localhost:3000/debian \ -b /var/cache/pbuilder/base-jessie.tgz \ -d jessie \ -d sid \ --apt tomoe-doc=0.6.0-4
としてやれば OK。
piuparts - Debian Wiki には有用な情報がかなり入っているので早めに確認しておくべきだった。
前 | 2013年 6月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)