linux:debian:build_package
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
linux:debian:build_package [2013/09/27 05:17] – add dch command aka how-to update build number and 'debian/changelog' stybla | linux:debian:build_package [2022/01/27 02:00] (current) – add How-to modify and repack Debian packages stybla | ||
---|---|---|---|
Line 73: | Line 73: | ||
- | ===== Links ===== | + | ==== Links ==== |
* http:// | * http:// | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
* http:// | * http:// | ||
+ | |||
+ | |||
+ | ===== How-to modify and repack Debian package ===== | ||
+ | |||
+ | I don't take credit for this one. This is just a backup in case the original page disappears since this is useful from time to time. | ||
+ | |||
+ | < | ||
+ | mkdir -p newpack oldpack/ | ||
+ | dpkg-deb -x file.deb oldpack/ | ||
+ | dpkg-deb -e file.deb oldpack/ | ||
+ | # change whatever needs to be changed | ||
+ | dpkg-deb -Z xz -b oldpack/ newpack/ | ||
+ | </ | ||
+ | |||
+ | ==== Links ==== | ||
+ | |||
+ | * https:// |
linux/debian/build_package.txt · Last modified: 2022/01/27 02:00 by stybla