<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/image.mk, branch v18.06.7</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.7'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2019-02-20T17:41:37Z</updated>
<entry>
<title>build: Accept BIN_DIR parameter for legacy-images</title>
<updated>2019-02-20T17:41:37Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2019-02-11T15:26:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=405840631c87d7d5c3381e82d61504b318c8a555'/>
<id>urn:sha1:405840631c87d7d5c3381e82d61504b318c8a555</id>
<content type='text'>
BIN_DIR can be set to overwrite the output path for new images. This is an
advertised feature for the imagebuilder and is used by systems like
LibreMesh's chef.

The legacy images are build using a new sub-make which doesn't receive the
variable overwrites of the parent make process. As result, the BIN_DIR is
automatically defined to the default value from rules.mk. The images will
therefore not be placed in the output path which was selected by the user.

Providing BIN_DIR as an explicit variable override to the sub-make works
around this problem.

Fixes: 26c771452cd8 ("image.mk: add LegacyDevice wrapper to allow legacy image building code to be used for device profiles")
Reported-by: Paul Spooren &lt;mail@aparcar.org&gt;
Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
(cherry picked from commit 9a5a10eb6924efa519e1d9e27b61dc254876f9ec)
</content>
</entry>
<entry>
<title>build: Introduce building of artifacts</title>
<updated>2018-12-18T16:22:03Z</updated>
<author>
<name>Petr Štetiar</name>
</author>
<published>2018-11-23T09:53:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=9885d3aec1db0830a1df98da9793d9506b0cbc58'/>
<id>urn:sha1:9885d3aec1db0830a1df98da9793d9506b0cbc58</id>
<content type='text'>
We currently could (ab)use IMAGES for this task, but the downside is,
that the filenames has filesystem tied to the filename, which might be
confusing as the artifact itself don't has to be used with that specific
filesystem. Another downside is, that the artifacts built with IMAGES
target are build for every FILESYSTEMS filesystem.

Consider following use case:

 define Device/apalis
   ...
   FILESYSTEMS := ext4 squashfs
   IMAGES := spl-uboot.bin recovery.scr
   IMAGE/spl-uboot.bin := append-uboot-spl | pad-to 68k | append-uboot
   IMAGE/recovery.scr := recovery-scr
 endef

Where we would get target binaries with following filenames:

 openwrt-imx6-apalis-squashfs.recovery.scr
 openwrt-imx6-apalis-squashfs.spl-uboot.bin
 openwrt-imx6-apalis-ext4.recovery.scr
 openwrt-imx6-apalis-ext4.spl-uboot.bin

With proposed patch, we could now just do:

 define Device/apalis
   ...
   ARTIFACTS := spl-uboot.bin recovery.scr
   ARTIFACT/spl-uboot.bin := append-uboot-spl | pad-to 68k | append-uboot
   ARTIFACT/recovery.scr := recovery-scr
 endef

Which would produce target binaries with following filenames:

 openwrt-imx6-apalis-recovery.scr
 openwrt-imx6-apalis-spl-uboot.bin

Signed-off-by: Petr Štetiar &lt;ynezz@true.cz&gt;
Acked-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(backported from 493c9a35516c27a8ec412d97e63c8cf6f41a57ea)
</content>
</entry>
<entry>
<title>build: ensure that iwinfo is selected when building for multiple devices</title>
<updated>2018-07-03T09:20:39Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2018-07-02T12:19:42Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=208a3a141090d84fb9922062ee982ab11ee832f7'/>
<id>urn:sha1:208a3a141090d84fb9922062ee982ab11ee832f7</id>
<content type='text'>
extra_packages needs to be added there, like on profiles and target
packages lists

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>build: Allow to change the FIT config section name</title>
<updated>2018-03-17T07:09:04Z</updated>
<author>
<name>Sven Eckelmann</name>
</author>
<published>2018-03-05T08:51:47Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=1b773a46c2023ef32ddbbc3835e20b6c216b184e'/>
<id>urn:sha1:1b773a46c2023ef32ddbbc3835e20b6c216b184e</id>
<content type='text'>
Some devices only boot when a special config is found in the image and
completely ignore the default entry during the selection. These devices can
now use the variable DEVICE_DTS_CONFIG in their device image definition.

Signed-off-by: Sven Eckelmann &lt;sven@narfation.org&gt;
</content>
</entry>
<entry>
<title>build: revert "make image target wait for initramfs"</title>
<updated>2018-03-15T21:27:37Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2018-03-15T20:51:19Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5862f01ef71e7ec75394e877e74e781b7d08a4d3'/>
<id>urn:sha1:5862f01ef71e7ec75394e877e74e781b7d08a4d3</id>
<content type='text'>
This reverts commit 43be5087a915727e7dcb3459e2221f094c70811b.

The change is incompatible with the image builder code.
Luckily the RT-AC58U is no longer depending on the initramfs
being available for the target's image generation rules.

Reported-by: Venitex Aveon &lt;aveon@aenote.com&gt;
Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: make image target wait for initramfs</title>
<updated>2018-03-14T18:04:51Z</updated>
<author>
<name>Christian Lamparter</name>
</author>
<published>2017-05-01T15:40:16Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=43be5087a915727e7dcb3459e2221f094c70811b'/>
<id>urn:sha1:43be5087a915727e7dcb3459e2221f094c70811b</id>
<content type='text'>
The image production rules does not have the initramfs-image
as a dependency. So, from make’s perspective initramfs
creation can run independently/in parallel with the image
generation code in the target's Makefile.

This is a problem for devices that have to use the initramfs
for the image creation and can lead to broken images.

Signed-off-by: Christian Lamparter &lt;chunkeey@gmail.com&gt;
</content>
</entry>
<entry>
<title>inclue/image.mk: fix package installation for per-device rootfs</title>
<updated>2018-03-09T07:18:54Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-09T07:18:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=643850f568a5393f6635aca54580d61d7f37e3ff'/>
<id>urn:sha1:643850f568a5393f6635aca54580d61d7f37e3ff</id>
<content type='text'>
Fixes FS#1421.

Fixes: 2fbf669730bf ("imagebuilder: reuse rootfs preparation from rootfs.mk")
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>include/image.mk: base package-list manifest on unprepared rootfs</title>
<updated>2018-03-07T08:59:08Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T13:42:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=f505fb07f3e5de20ec244fab0badacb9f77110ee'/>
<id>urn:sha1:f505fb07f3e5de20ec244fab0badacb9f77110ee</id>
<content type='text'>
With CONFIG_CLEAN_IPKG, the prepared rootfs does not have a full opkg
status file.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>include/rootfs.mk: pass additional files dir to prepare_rootfs as an argument</title>
<updated>2018-03-07T08:59:07Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T20:06:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=cf1c7c0f17a45bba3e7ce1a3cd3f8f7efa7196c4'/>
<id>urn:sha1:cf1c7c0f17a45bba3e7ce1a3cd3f8f7efa7196c4</id>
<content type='text'>
Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: replace uses of OpenWrt with $(VERSION_DIST)</title>
<updated>2018-02-05T09:15:53Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2017-11-08T17:40:37Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=cde71a543c629f63e6f01850fd8b6f3f94cdd25d'/>
<id>urn:sha1:cde71a543c629f63e6f01850fd8b6f3f94cdd25d</id>
<content type='text'>
This makes the distribution name more configurable.

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
</feed>
