Bug#364561: [Pbuilder-maint] Bug#364561: pbuilder: please print modification timestamp of base.tgz on startup

Junichi Uekawa dancer at netfort.gr.jp
Tue Apr 25 00:20:10 UTC 2006


Hi,

> it would be nice if pbuilder printed the modification timestamp of the
> tgz used so I could see when I last updated it.
> 
> Current time: Mon Apr 24 08:55:45 UTC 2006
> pbuilder-time-stamp: 1145868945
> Building the build Environment
>  -> extracting base tarball [/srv/pbuilder/sid-i386.tgz]
>   -> last updated: [.....]                                  <-- here
>  -> creating local configuration

I have a snippet that does pbuilder update if it's not been updated for a day;

for BASETGZ in $(find /var/cache/pbuilder/ -maxdepth 1 -name base-i386.tgz -mtime +1 -print); do
    sudo pbuilder update --basetgz ${BASETGZ}
done

I find it more useful than just printing out the last update date...


regards,
	junichi
-- 
dancer@{debian.org,netfort.gr.jp}   Debian Project




More information about the Pbuilder-maint mailing list