diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 14:20:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-02-24 14:20:19 -0300 |
commit | 91275ac998c439420da747fc047379a6547f7c1c (patch) | |
tree | cb460090697db1d90caa5dbaf53292f5a9297ebb /basics.md | |
parent | 9857a3c262e9af2ea02698820be1e887cd3bf36c (diff) | |
download | debian-91275ac998c439420da747fc047379a6547f7c1c.tar.gz debian-91275ac998c439420da747fc047379a6547f7c1c.tar.bz2 |
Feat: convert docs from Ikiwiki to MkDocs
Diffstat (limited to 'basics.md')
-rw-r--r-- | basics.md | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/basics.md b/basics.md deleted file mode 100644 index 9de641e..0000000 --- a/basics.md +++ /dev/null @@ -1,83 +0,0 @@ -[[!meta title="Basic packaging"]] - -Configuration files -------------------- - -All the commands in this guide assumes that you're using [these configuration files](https://git.fluxo.info/?p=rhatto/dotfiles/debian.git;a=summary). - -Starting a new package ----------------------- - -We use the `packages/` folder from this repo to store sources: - - mkdir packages/$package - cd packages/$package - -Getting the debianized source ------------------------------ - -Using `dget`: - - dget $remote_dsc - cd $package* - -Using `apt-get`: - - apt-get source package - -Checking the source -------------------- - -See `checking.md`. - -Extracting the source ---------------------- - -If needed, do this after your successfully verified the sources: - - dpkg-source -x *.dsc - -Getting dependencies --------------------- - -To get: - - apt-get build-dep package - -To remove: - - hydractl remove-dep package - -Creating the `debian/` structure --------------------------------- - -If the package wasn't debianized, proceed with - - if [ ! -d "debian" ]; then - dh_make -p ${package}_${version} --createorig - fi - -Simple build ------------- - - dch -i - dpkg-buildpackage -rfakeroot -sa -k$KEY_ID - -Creating a new debian source ----------------------------- - - cd .. - dpkg-source -b $package* - debsign $package*.dsc - -Building and signing --------------------- - -To generate signatures, remove `-uc` and `-us` from `dpkg-buildpackage` (see -[Complete build](http://www.debian.org/doc/maint-guide/ch-build.pt-br.html#s-completebuild)): - - dpkg-buildpackage -rfakeroot - -To sign using an specific key: - - dpkg-buildpackage -rfakeroot -kKEY_ID |