README.md : updated to show the current workflow
This commit is contained in:
parent
54664ccecd
commit
2036d2ee1e
1 changed files with 23 additions and 14 deletions
37
README.md
37
README.md
|
|
@ -1,6 +1,6 @@
|
||||||
## Introduction
|
## Introduction
|
||||||
|
|
||||||
This set of scripts are helpers that modify and compile those packages coming
|
This set of scripts are helpers that modify and create the source packages coming
|
||||||
from the Ubuntu upstream which need it. It might be because they contain
|
from the Ubuntu upstream which need it. It might be because they contain
|
||||||
non-free stuff, references to Ubuntu that need to be changed, or because we
|
non-free stuff, references to Ubuntu that need to be changed, or because we
|
||||||
want the package to work our way.
|
want the package to work our way.
|
||||||
|
|
@ -9,20 +9,29 @@ This helpers are similar to some of those in the [gNewSense](http://www.gnewsens
|
||||||
some ideas and even some lines from them. If you plan to build an Ubuntu
|
some ideas and even some lines from them. If you plan to build an Ubuntu
|
||||||
derivative of your own, we suggest you to use Builder instead of this helpers.
|
derivative of your own, we suggest you to use Builder instead of this helpers.
|
||||||
|
|
||||||
All packages in this list are in the appropriate blacklist in the repository
|
Once a new package is added, it takes priority over the original one from Ubuntu,
|
||||||
updater, so they never enter into the repo from upstream and need to be
|
so they never enter into the repo from upstream and need to be
|
||||||
compiled with this helpers and pushed into reprepro. This helpers also need
|
compiled with this helpers and pushed into reprepro.
|
||||||
to be run by hand - and the results tested - any time the repo watchdog warns
|
|
||||||
about pending updates from upstream.
|
|
||||||
|
|
||||||
To add a package to the list, just copy one - `make-apache2` is a good template -
|
To add a package to the list, follow the [CONTRIBUTING](https://devel.trisquel.info/trisquel/package-helpers/blob/belenos/CONTRIBUTING.md) guidelines.
|
||||||
and rename it to `make-sourcePackageName`. To send the file back to us, or to
|
|
||||||
include any modification into the current scripts, use `bzr diff` and send
|
## Steps
|
||||||
the output as an attachment to trisquel-devel@listas.trisquel.info. You need
|
|
||||||
to join the mailing list to send messages to it.
|
Those are the steps done by the helpers:
|
||||||
|
|
||||||
|
1. Create local apt configuration, so you don't need to be root to run the helpers
|
||||||
|
2. Get the ubuntu and trisquel gpg keys
|
||||||
|
3. Get the source packages from their original repo
|
||||||
|
4. Uncompress them
|
||||||
|
5. Apply the changes described in the helper
|
||||||
|
6. Re-package it, adding "triquel$VERSION" version string
|
||||||
|
|
||||||
## Recommendations
|
## Recommendations
|
||||||
|
|
||||||
|
* You don't need to use sudo in order to run those scripts, but some extra packages are needed:
|
||||||
|
|
||||||
|
`sudo apt-get install dpkg-dev sed git rpl devscripts quilt patch`
|
||||||
|
|
||||||
* Take care to use the right sourcePackageName, many source packages produce
|
* Take care to use the right sourcePackageName, many source packages produce
|
||||||
several binary packages. `apt-cache showsrc binary-package` can help you.
|
several binary packages. `apt-cache showsrc binary-package` can help you.
|
||||||
* If possible, use sed to replace chains in the upstream source without the
|
* If possible, use sed to replace chains in the upstream source without the
|
||||||
|
|
@ -32,9 +41,8 @@ it at the `DATA/sourcePackageName` directory
|
||||||
would actually be shown to the user. Avoid replacing copyright statements!
|
would actually be shown to the user. Avoid replacing copyright statements!
|
||||||
* Try to write your replacements in a way they might work in future versions
|
* Try to write your replacements in a way they might work in future versions
|
||||||
of the upstream package. Well written regexps and sed will help with that.
|
of the upstream package. Well written regexps and sed will help with that.
|
||||||
* Some of this packages require the lsb to match Trisquel values. Edit the
|
* You can test your changes by doing them inside the _PACKAGES/sourcePackageName/source/_ directory,
|
||||||
`/etc/lsb_release` accordingly, or run the helpers in a Trisquel box.
|
and running `dpkg-source -b .`, before being added to the helper script
|
||||||
* You can - and maybe should - run this scripts inside a chroot.
|
|
||||||
|
|
||||||
## Netinstall
|
## Netinstall
|
||||||
|
|
||||||
|
|
@ -54,3 +62,4 @@ To generate the images, we run the following scripts:
|
||||||
|
|
||||||
Then we push the results into the Trisquel repository and run the script
|
Then we push the results into the Trisquel repository and run the script
|
||||||
`make-debian-installer` to build the final images.
|
`make-debian-installer` to build the final images.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue