Martin-Éric Racine wrote:
> The manual states that --generate can be used to create the directory
> structure for further manipulation.
>
> However, the command line sample given to get around building a *.deb will
> result in a hidden file called "..deb" which is less than optimal. Here's a
> better command line sample:
>
> sudo dpkg-deb --build . ../$(echo "$(grep Package DEBIAN/control | awk
> {'print $2'})_$(grep Version DEBIAN/control | awk {'print $2'})_$(grep Arch
> DEBIAN/control | awk {'print $2'}).deb")
>
> You're welcome. :)The package can be built from this temporary directory by running "dpkg\-deb \-\-build", passing it the generated directory. joey@darkstar:~/tmp>fakeroot dpkg-repack --generate dpkg-repack dpkg-repack: fakeroot run without its -u flag may corrupt some file permissions. dpkg-repack: dpkg-repack: created ./dpkg-repack-23441 for dpkg-repack joey@darkstar:~/tmp>dpkg-deb --build dpkg-repack-23441 dpkg-deb: building package `dpkg-repack' in `dpkg-repack-23441.deb'. -- see shy jo
signature.asc
Description: Digital signature

