<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/ldir/include/rootfs.mk, branch master</title>
<subtitle>Kevin D-Bs staging tree</subtitle>
<id>https://git-03.infra.openwrt.org/openwrt/staging/ldir/atom?h=master</id>
<link rel='self' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/'/>
<updated>2020-12-06T08:07:00Z</updated>
<entry>
<title>build: reduce cleanup binary calls in rootfs.mk</title>
<updated>2020-12-06T08:07:00Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-09-21T22:43:43Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=173ea745abd27d2d8eb1b0f571069ddfd7f24641'/>
<id>urn:sha1:173ea745abd27d2d8eb1b0f571069ddfd7f24641</id>
<content type='text'>
Both `find` and `rm` only need to be called once for folders and files.

Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
</content>
</entry>
<entry>
<title>treewide: replace `which` with `command -v`</title>
<updated>2020-08-12T09:08:05Z</updated>
<author>
<name>Paul Spooren</name>
</author>
<published>2020-08-10T01:33:37Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=1fdf6b745cc3d85be3743837817a360121554134'/>
<id>urn:sha1:1fdf6b745cc3d85be3743837817a360121554134</id>
<content type='text'>
Fix shellcheck SC2230
&gt; which is non-standard. Use builtin 'command -v' instead.

Using `command -v` is POSIX compliant while `which` is not.  Also to
mention, `command -v` is a shell builtin whereas `which` is a separate
busybox applet.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Acked-by: Stijn Tintel &lt;stijn@linux-ipv6.be&gt;
Signed-off-by: Paul Spooren &lt;mail@aparcar.org&gt;
[also replace cases in zram-swap]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>rootfs.mk: ensure all timestamp are set to SOURCE_DATE_EPOCH</title>
<updated>2019-09-21T01:26:38Z</updated>
<author>
<name>Alexander Couzens</name>
</author>
<published>2019-09-20T03:36:13Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=8cb13f4e6d5750957449b4c5740f64af11a9ad36'/>
<id>urn:sha1:8cb13f4e6d5750957449b4c5740f64af11a9ad36</id>
<content type='text'>
Some tools doesn't support SOURCE_DATE_EPOCH (e.g. initramfs images).
Ensure all files of a root filesystem are set to SOURCE_DATE_EPOCH.
Make initramfs builds reproducible (for ramips).

Signed-off-by: Alexander Couzens &lt;lynxis@fe80.eu&gt;
</content>
</entry>
<entry>
<title>imagebuilder: new DISABLED_SERVICES make variable</title>
<updated>2019-05-15T11:34:24Z</updated>
<author>
<name>Richard Musil</name>
</author>
<published>2019-05-09T01:45:07Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=71ab2c9d179652d9b528817ec04d3f1dd3b4b1df'/>
<id>urn:sha1:71ab2c9d179652d9b528817ec04d3f1dd3b4b1df</id>
<content type='text'>
Adds a new variable DISABLED_SERVICES to ImageBuilder Makefile, which
defines a list of services (installed as /etc/init.d/*) to be disabled
during the build of a custom image (normally all are enabled).

It comes handy when a particular service should not be run under normal
circumstances, but should be ready in the image for situations when it
might be needed.

Signed-off-by: Richard Musil &lt;risa2000x@gmail.com&gt;
</content>
</entry>
<entry>
<title>include/rootfs.mk: remove boot directory</title>
<updated>2018-11-26T11:05:44Z</updated>
<author>
<name>Tomasz Maciej Nowak</name>
</author>
<published>2018-11-20T16:20:39Z</published>
<link rel='alternate' type='text/html' href='https://git-03.infra.openwrt.org/openwrt/staging/ldir/commit/?id=31075313bf69fff3803b7c1da1e0ed7e5773d999'/>
<id>urn:sha1:31075313bf69fff3803b7c1da1e0ed7e5773d999</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;
</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-03.infra.openwrt.org/openwrt/staging/ldir/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-03.infra.openwrt.org/openwrt/staging/ldir/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-03.infra.openwrt.org/openwrt/staging/ldir/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-03.infra.openwrt.org/openwrt/staging/ldir/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-03.infra.openwrt.org/openwrt/staging/ldir/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>
</feed>
