@@ -15,7 +15,7 @@ packages.
1515Whether you are creating a new package or modifying an existing one, there are
1616some tools that you are going to need. We currently use Ubuntu trusty as the
1717development environment. (We will only support trusty, but any thing newer should
18- work - same goes for jessie or newer on Debian). If you are using Windows or Mac
18+ work - same goes for stretch or newer on Debian). If you are using Windows or Mac
1919you can use [ VirtualBox] or [ Docker] to run trusty in a virtual machine/container.
2020
2121On your Ubuntu machine, you will need to install some packages. If you haven't
@@ -58,10 +58,10 @@ available (as in the case with security updates).
5858
5959The same command is used for both creating and updating:
6060
61- OS=debian DIST=jessie ARCH=armel pbuilder-ev3dev base
61+ OS=debian DIST=stretch ARCH=armel pbuilder-ev3dev base
6262
6363Replace the variables as needed. ` OS ` can be ` debian ` or ` rasbian ` . ` DIST ` can
64- be any Debian distribution supported by ev3dev (currently only ` jessie ` ). ` ARCH `
64+ be any Debian distribution supported by ev3dev (currently only ` stretch ` ). ` ARCH `
6565is any valid Debian architecture (` armel ` , ` armhf ` , etc.). The images are stored
6666in ` ~/pbuilder-ev3dev ` .
6767
@@ -80,9 +80,9 @@ After you have forked the repository on GitHub, run...
8080
8181To build a package, simply run ` pbuilder-ev3dev ` from the source code directory.
8282
83- OS=debian DIST=jessie ARCH=armel pbuilder-ev3dev build
83+ OS=debian DIST=stretch ARCH=armel pbuilder-ev3dev build
8484
85- The .deb package(s) will be placed in ` ~/pbuilder-ev3dev/debian/jessie -armel ` .
85+ The .deb package(s) will be placed in ` ~/pbuilder-ev3dev/debian/stretch -armel ` .
8686You can copy these files to your EV3 and install them.
8787
8888## Modifying a Package
@@ -119,7 +119,7 @@ making changes, you can try them out by building the package as described above
119119with one difference. You need to use the ` dev-build ` command so that it will
120120not fail because of your changes.
121121
122- OS=debian DIST=jessie ARCH=armel pbuilder-ev3dev dev-build
122+ OS=debian DIST=stretch ARCH=armel pbuilder-ev3dev dev-build
123123
124124Once you are happy with your changes, commit them and push them back to GitHub.
125125** Note:** Some packages use [ quilt] for managing patches. If you want to figure
@@ -169,30 +169,30 @@ building packages for yourself.
169169 command recently, you can omit those lines.
170170
171171 # build for EV3
172- OS=debian ARCH=armel DIST=jessie pbuilder-ev3dev base
173- OS=debian ARCH=armel DIST=jessie pbuilder-ev3dev build
172+ OS=debian ARCH=armel DIST=stretch pbuilder-ev3dev base
173+ OS=debian ARCH=armel DIST=stretch pbuilder-ev3dev build
174174 # build for RPi 2/3 and BeagleBone
175- OS=debian ARCH=armhf DIST=jessie pbuilder-ev3dev base
176- DEBUILD_OPTIONS="--binary-only" OS=debian ARCH=armhf DIST=jessie pbuilder-ev3dev build
175+ OS=debian ARCH=armhf DIST=stretch pbuilder-ev3dev base
176+ DEBUILD_OPTIONS="--binary-only" OS=debian ARCH=armhf DIST=stretch pbuilder-ev3dev build
177177 # build for RPi 0/1
178- OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev base
179- OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev build
178+ OS=raspbian ARCH=armhf DIST=stretch pbuilder-ev3dev base
179+ OS=raspbian ARCH=armhf DIST=stretch pbuilder-ev3dev build
180180
181181 If your package does not have any binary components (like a pure python
182182 package), you can do this instead:
183183
184184 # build for EV3, RPi 2/3 and BeagleBone
185- OS=debian ARCH=amd64 DIST=jessie pbuilder-ev3dev base
186- OS=debian ARCH=amd64 DIST=jessie pbuilder-ev3dev build
185+ OS=debian ARCH=amd64 DIST=stretch pbuilder-ev3dev base
186+ OS=debian ARCH=amd64 DIST=stretch pbuilder-ev3dev build
187187 # build for RPi 0/1
188- OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev base
189- OS=raspbian ARCH=armhf DIST=jessie pbuilder-ev3dev build
188+ OS=raspbian ARCH=armhf DIST=stretch pbuilder-ev3dev base
189+ OS=raspbian ARCH=armhf DIST=stretch pbuilder-ev3dev build
190190
1911917 . Sign the ` .changes ` files in ` ~/pbuilder-ev3dev/$OS/$DIST-$ARCH/ ` using ` debsign ` .
192192
193- debsign ~/pbuilder-ev3dev/debian/jessie -armel/<package>_<version>_armel.changes
194- debsign ~/pbuilder-ev3dev/debian/jessie -armhf/<package>_<version>_armhf.changes
195- debsign ~/pbuilder-ev3dev/raspbian/jessie -armhf/<package>_<version>_armhf.changes
193+ debsign ~/pbuilder-ev3dev/debian/stretch -armel/<package>_<version>_armel.changes
194+ debsign ~/pbuilder-ev3dev/debian/stretch -armhf/<package>_<version>_armhf.changes
195+ debsign ~/pbuilder-ev3dev/raspbian/stretch -armhf/<package>_<version>_armhf.changes
196196
1971978 . Upload the new release to the ev3dev archive using ` dput ` .
198198
@@ -219,9 +219,9 @@ building packages for yourself.
219219
220220 Then upload:
221221
222- dput ev3dev-debian ~/pbuilder-ev3dev/debian/jessie -armel/<package>_<version>_armel.changes
223- dput ev3dev-debian ~/pbuilder-ev3dev/debian/jessie -armhf/<package>_<version>_armhf.changes
224- dput ev3dev-raspbian ~/pbuilder-ev3dev/raspbian/jessie -armhf/<package>_<version>_armhf.changes
222+ dput ev3dev-debian ~/pbuilder-ev3dev/debian/stretch -armel/<package>_<version>_armel.changes
223+ dput ev3dev-debian ~/pbuilder-ev3dev/debian/stretch -armhf/<package>_<version>_armhf.changes
224+ dput ev3dev-raspbian ~/pbuilder-ev3dev/raspbian/stretch -armhf/<package>_<version>_armhf.changes
225225
226226 Please be careful about ` armhf ` and ` ev3dev-debian ` vs. ` ev3dev-raspbian ` !
227227 You should receive an email after each upload. If not, let @dlech know about it.
0 commit comments