[Debian-ezgo-packaging] Debian ezgo pure blends TODO

Andreas Tille andreas at an3as.eu
Thu Mar 20 08:51:19 UTC 2014


Hi Franklin,

I inspected the issue and found two bugs in the Blends framework:

   1. The documentation is not explaining that you should use
      debian/postinst.stub, debian/prerm.stub, etc.

   2. Not all of these scripts are dealt with (which is a regression
      from fixing a previous bug)

I try to deal with this as quickly as possible but possibly not before
the weekend.

Kind regards

       Andreas.

On Thu, Mar 20, 2014 at 09:38:29AM +0800, Franklin Weng wrote:
> Hi,
> 
> 
> I got some troubles patching back into svn, but finally solved them.  (So I
> committed 6 times.)
> 
> Now with the current svn revision, I could make dist and created the
> control file.  I changed debian/changelog and ran debuild -us -uc.  Then,
> 
> M       debian/changelog
> !       debian/ezgo-menu.postinst
> M       debian/ezgo-artwork.postinst
> M       debian/ezgo-artwork.prerm
> 
> As you can see, it changed my ezgo-artwork.postinst and prerm script, then
> removed my ezgo-menu.postinst.
> 
> Here are the blends related packages I installed on my Wheezy system:
> 
> $ more os-release
> PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
> NAME="Debian GNU/Linux"
> VERSION_ID="7"
> VERSION="7 (wheezy)"
> ID=debian
> ANSI_COLOR="1;31"
> HOME_URL="http://www.debian.org/"
> SUPPORT_URL="http://www.debian.org/support/"
> BUG_REPORT_URL="http://bugs.debian.org/"
> 
> $ dpkg -l | grep blends
> ii  blends-common                        0.6.16.2
> all          Debian Pure Blends common package
> ii  blends-dev                           0.6.16.2
> all          Debian Pure Blends common files for developing metapackages
> ii  blends-doc                           0.6.16.2
> all          Debian Pure Blends documentation
> 
> 
> Any help will be very appreciated.
> 
> Thanks,
> Franklin
> 
> 
> 2014-03-19 23:33 GMT+08:00 Andreas Tille <andreas at an3as.eu>:
> 
> > Hi Franklin,
> >
> > On Wed, Mar 19, 2014 at 10:47:11PM +0800, Franklin Weng wrote:
> > > I put the necessary files and control files into blends.  I could make
> > dist
> > > and create the debian/control file.  However, when I run debuild -us -uc,
> > > it would create a blends default ezgo-artwork.postinst and
> > > ezgo-artwork.prerm and my original ones were overwritten.  Besides, the
> > > ezgo-menu.postinst was deleted.  I looked at the messages and the default
> > > postinst file but didn't find any clue.  How could I keep the content of
> > > postinst and prerm script?
> >
> > Please commit your changes and I try to reproduce this behaviour.  It seems
> > to be a bug since your scripts should not be overriden.
> >
> > Kind regards
> >
> >       Andreas.
> >
> > --
> > http://fam-tille.de
> >

-- 
http://fam-tille.de



More information about the Debian-ezgo-packaging mailing list