Bug#341553: [Pbuilder-maint] Bug#341553: pbuilder: Please add option
to pdebuild to create .build files automatically
Junichi Uekawa
dancer at netfort.gr.jp
Fri Jan 6 12:23:37 UTC 2006
Hi,
> > > There is a pkgname-logfile option, which probably needs a bit of polishing up.
> >
> > Thanks. After a long time I had time to test it. It works. I would like
> > to see, that the resulting file has the same name-format like the .build
> > file produced by debuild. This only means, to add '_architecture' and
> > '.build' suffix. ATM it look like:
> >
> > foobar_up.vers-debian_vers
> >
> > and debuild .build-filename format is
> >
> > foobar_up.vers-debian_vers_arch.build
> >
> > Please decide and if you don't want to follow this suggestion, this bug
> > can be closed, because the base feature is available via the
> > --pkgname-logfile option. Thanks and a nice New Year celebration.
>
> I forgot: The file has not the same owner than all other package files
> (when I run pdebuild, I am the owner of
> the .deb, .dsc, .changes, .diff.gz .. files, but not of the log-file).
> Could this be fixed?
This shall be fixed with adding it to the pbuilder-buildpackage final check.
The portion is already doing the following:
if [ -d "${BUILDRESULT}" ]; then
BUILDRESULTUID="${BUILDRESULTUID:-${SUDO_UID:-0}}"
chown "${BUILDRESULTUID}:${BUILDRESULTGID}" "${BUILDPLACE}"/tmp/buildd/*
BUILDRESULTGID="${BUILDRESULTGID:-${SUDO_GID:-0}}"
chgrp "${BUILDRESULTGID}" "${BUILDPLACE}"/tmp/buildd/*
cp -p "${BUILDPLACE}"/tmp/buildd/* "${BUILDRESULT}" 2>/dev/null || true
else
echo "E: BUILDRESULT=[$BUILDRESULT] is not a directory." >&2
fi
It should probably do for other files.
regards,
junichi
--
dancer@{debian.org,netfort.gr.jp} Debian Project
More information about the Pbuilder-maint
mailing list