<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/chunkeey/include/rootfs.mk, branch v18.06.4</title>
<subtitle>Staging tree of Christian Lamparter</subtitle>
<id>https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.4</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/chunkeey/atom?h=v18.06.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/'/>
<updated>2018-12-18T16:22:08Z</updated>
<entry>
<title>include/rootfs.mk: remove boot directory</title>
<updated>2018-12-18T16:22:08Z</updated>
<author>
<name>Tomasz Maciej Nowak</name>
</author>
<published>2018-11-20T16:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=75d4465464e615d97ed07dac503d39c904770542'/>
<id>urn:sha1:75d4465464e615d97ed07dac503d39c904770542</id>
<content type='text'>
Currently every file in boot directory is copied over target /boot on
root file system and is usually inaccessible because appropriate boot
file system is mounted on top of it. Therefore remove /boot, which in
result will also save space on target root file system.

Signed-off-by: Tomasz Maciej Nowak &lt;tomek_n@o2.pl&gt;
(backported from 31075313bf69fff3803b7c1da1e0ed7e5773d999)
</content>
</entry>
<entry>
<title>imagebuilder: reuse rootfs preparation from rootfs.mk</title>
<updated>2018-03-07T08:59:08Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T08:38:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=2fbf669730bfa7342b36711d275bfe4c7951ac1b'/>
<id>urn:sha1:2fbf669730bfa7342b36711d275bfe4c7951ac1b</id>
<content type='text'>
In addition to removing redundant code, this fixes various issues in
IB-generated images that have been fixed in prepare_rootfs before,
including better handling of CONFIG_CLEAN_IPKG and enabling of initscripts
from FILES.

We also reuse the opkg macro and remove --force-... flags that have been
removed from rootfs.mk as well.

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>include/rootfs.mk: retain list of conffiles with CONFIG_CLEAN_IPKG</title>
<updated>2018-03-07T08:58:50Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T13:29:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=6ab50bb10ded770f023e14d63cac2522076f9daf'/>
<id>urn:sha1:6ab50bb10ded770f023e14d63cac2522076f9daf</id>
<content type='text'>
/usr/lib/opkg/status must not be removed completely, otherwise the
packages' conffile lists will be missing. Replace it with a reduced version
only containing the conffile entries.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>include/rootfs.mk: do not remove opkg prerm scripts during rootfs preparation</title>
<updated>2018-03-07T07:49:45Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2018-03-06T07:49:14Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=d2daaf8f4002aa240d5657810d90b4eef929f8b3'/>
<id>urn:sha1:d2daaf8f4002aa240d5657810d90b4eef929f8b3</id>
<content type='text'>
When a user removes a preinstalled opkg package, the package's prerm script
(and in particular our default_prerm) should run.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>procd: fix procd_lock() when prepare_roofs</title>
<updated>2018-01-28T01:51:06Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2018-01-28T01:43:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=60ad837bea4a006a54fd8b659083f7bf648da781'/>
<id>urn:sha1:60ad837bea4a006a54fd8b659083f7bf648da781</id>
<content type='text'>
This fixes the following errors when doing "make package/install"

    /home/yousong/git-repo/lede-project/lede/build_dir/target-mips_24kc_musl/root-malta/lib/functions/procd.sh: line 47: /home/yousong/git-repo/l
    ede-project/lede/build_dir/target-mips_24kc_musl/root-malta/var/lock/procd_urandom_seed.lock: No such file or directory
    flock: 1000: Bad file descriptor

Fixes FS#1260

Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>build: cleanup tmp/ dir of target rootfs</title>
<updated>2017-05-02T14:10:50Z</updated>
<author>
<name>Yousong Zhou</name>
</author>
<published>2017-03-05T08:17:17Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=dac629f71093715ea002c7949a9888188e58984e'/>
<id>urn:sha1:dac629f71093715ea002c7949a9888188e58984e</id>
<content type='text'>
Signed-off-by: Yousong Zhou &lt;yszhou4tech@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/rootfs.mk: keep Require-User lines with CONFIG_CLEAN_IPKG</title>
<updated>2017-01-24T16:18:36Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2017-01-24T16:00:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=7e1fc09c4f2cc1656f315abaf6d3ba0eb11aa3fa'/>
<id>urn:sha1:7e1fc09c4f2cc1656f315abaf6d3ba0eb11aa3fa</id>
<content type='text'>
Require-User is handled by /etc/uci-defaults/13_fix_group_user on first
boot, so we need to keep these when removing all opkg data with
CONFIG_CLEAN_IPKG.

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
<entry>
<title>build: remove stale .ipk files if package dir changes</title>
<updated>2016-11-08T09:49:51Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2016-11-08T04:47:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=64c386c5662e923d284b1c5b742cb72d7ad24671'/>
<id>urn:sha1:64c386c5662e923d284b1c5b742cb72d7ad24671</id>
<content type='text'>
If a package nonshared status is changed, a stale .ipk file might still
be present in the old package directory. Remove the .ipk file from all
package directories when building a new one (or explicitly running
clean)

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
</content>
</entry>
<entry>
<title>rootfs: fail on errors in postinst scripts</title>
<updated>2016-09-26T15:57:58Z</updated>
<author>
<name>Matthias Schiffer</name>
</author>
<published>2016-09-26T13:25:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/chunkeey/commit/?id=5b99693832d0307744ac16d29fb359b730fd86a3'/>
<id>urn:sha1:5b99693832d0307744ac16d29fb359b730fd86a3</id>
<content type='text'>
The Gluon firmware framework [1] uses postinst scripts for sanity checks.
Make the build fail when a postinst script exits with an error to make
these sanity checks effective.

All postinst scripts in packages from the LEDE core and the packages feed
seem to work correctly with this change and will always return 0 unless
something is very broken.

[1] https://github.com/freifunk-gluon/gluon

Signed-off-by: Matthias Schiffer &lt;mschiffer@universe-factory.net&gt;
</content>
</entry>
</feed>
