Commit graph

33 commits

Author SHA1 Message Date
ca7a5a5265 pkg.sh: Evaluate pkg.run on Debian
pkg.run is not evaluated on Debian, fix that. For now it's hacked
into pkg.sh, which is bound to be replaced by Python. The limited
hassle is still worth the detour.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-02-28 13:15:05 +00:00
a0b166748a create-mkdebian.sh: Indent heredocs
For better readability indent the heredocs.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-02-28 13:02:03 +00:00
7a315442d4 create-mkdebian.sh: Re-add create-mkdebian.sh
pkg.sh's operating system abstraction doesn't make much sense with
the debian compatibilty script removed, so add it back.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-16 16:31:52 +01:00
bc883deed4 Everywhere: Remove everything non-essential for "make clean all"
This commit removes everything not strictly necessary for running
"make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725
lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

   The decision should be based on whether or not jw-build can also be
   useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:02:56 +01:00
86d95a97f6 create-mkdebian.sh: Fix staging path
Staging path by default is debian/tmp, and the packager (dh_install) looks
there and in . for staged files, e.g. ./dist/src/jw-build-1.0.0-93/debian/tmp.
This doesn't match the file system layout as created by jw-build's make
install, which installs to ./dist/src/jw-build-1.0.0-93/debian/tmp/inst-root.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-11-13 12:49:28 +00:00
bdd66dbc26 Everywhere: Rename MOD_SCRIPT_DIR -> JWB_SCRIPT_DIR
Follow name change of MODDIR -> JWBDIR.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 21:45:24 +00:00
f195f1c366 create-mkdebian.sh: Fix broken double quotes
Signed-off-by: Jan Lindemann <jan@janware.com>
2018-12-28 13:33:08 +00:00
2a88f1ceca create-mk(spec|debian).sh: Code beautication
Beautify code and fix backtick and backslash escaping of package scripts

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-09-07 09:32:14 +00:00
acc3c18e27 create-mkdebian.sh: Remove bogus content from Conflicts tag
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-29 13:05:41 +00:00
26b71bee5d create-mkdebian.sh: Fix lintian complaint about empty copyright file
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-12-29 12:51:45 +00:00
c42e386c76 doc, make, scripts: Add support for [pkg.conflicts.xxx]
Since the packaging machinery is pretty complicated, the information about
conflicting packages had to be passed through many APIs. The last commit
contained a patch which is left in the tree to have it in one file, it actually
is identical to this commit's diff, though. Git would save me that quirk.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-26 10:34:22 +00:00
da28b13617 create-mkdebian.sh, create-mkspec.sh: Fix debian package build
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-01-13 19:26:28 +00:00
d2a4f3d5bc ini-tools.sh: Fix new call semantics
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-11-08 16:22:01 +00:00
0b3332cc56 ini-tools.sh: Now not passing inifile as global variable any longer
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-11-02 09:49:34 +00:00
07dac74d87 fix: Ytools build wasn't self-contained, i.e. pkg.sh was not found from source
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-02-02 15:56:06 +00:00
fcdc083e1f create-mkdebian.sh, create-mkspec.sh, pkg.sh: Fix pkg.sh not found
Signed-off-by: Jan Lindemann <jan@janware.com>
2016-02-02 00:58:19 +00:00
61a4706c76 scripts: Use get_os.sh for packaging
Use get_os.sh for determining which distribution and version packages
are built for, and upload accordingly.

Signed-off-by: Jan Lindemann <jan@janware.com>
2015-06-01 12:20:25 +00:00
fbd7115174 create-mkdebian.sh, pkg.sh: Upload to debian stable
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 15:29:41 +00:00
eb5980b45b create-mkdebian.sh, pkg.sh: Push milk-install-log.sh into pkg.sh
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 14:23:13 +00:00
e13e5299e3 create-mkdebian.sh: Dh_installdirs was not run anymore after the last fix
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 11:48:16 +00:00
4e593520b0 fix: Install was executed twice, nullifying installation log
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 11:13:26 +00:00
d991fcc9c7 create-mkdebian.sh: Fix warning about debian/rules not being executable
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 10:33:26 +00:00
3d39682d2d create-mkdebian.sh: Fix directories missing from install
Fix missing empty directories; dh_installdirs was called before
dh_install, so <package>.dirs was not yet existent

Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-31 10:17:44 +00:00
d31bc920fe create-mkdebian.sh: Debian changelog is now generated by dch
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-30 20:03:33 +00:00
fcb11b8a0d create-mkdebian.sh: Add alias-cdw.sh
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-30 14:09:41 +00:00
1753a239a1 create-mkdebian.sh: Honour subpackages config option in project.txt
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-27 18:14:32 +00:00
56442a0555 proj.mk, create-mkdebian.sh: Ytools-run and ytools-devel are installable now
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-27 16:17:03 +00:00
9776fec809 create-mkdebian.sh: Fix dh_shlibdeps
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-27 14:10:23 +00:00
5237aceffb create-mkdebian.sh: Debian builds ytools-run and -devel packages, with lots of warnings, still
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-27 11:45:46 +00:00
9430be3109 create-mkdebian.sh: Code beautification
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-26 13:34:29 +00:00
674d467dd2 create-mkdebian.sh: Acutally produced a .deb package, not sure if it's usable
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-26 13:32:17 +00:00
872348e810 create-mk*.sh: Make Debian packaging start a build
Further Debian packaging support, it now starts a build at least.

Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-26 12:28:07 +00:00
b9e62bdaee create-mkdebian.sh: Some tweaks with DISPLAY variable in the attempt to make send-to-machine.sh work
Signed-off-by: Jan Lindemann <jan@janware.com>
2015-05-25 15:40:40 +00:00