How do i repackage .deb files to ubuntu snappy(snapcraft)

381 views Asked by At

I wanted to repackage .deb files specifically XWiki .deb file install to a ubuntu snappy file. since I lack knowledge on building snaps what methods do you suggest I use. would it be better to build XWiki from the source in snappy or repackage the .deb file into snappy. And also which one would be easy to maintain. I also looked it up similar question here but since most documentation was removed by ubuntu it was difficult.

thank you

1

There are 1 answers

1
David On
mkdir tmp

unpack package

dpkg-deb -R package deb tmp

modify content of extracted content and build new package

dpkg-deb -b tmp new.deb