build,IB: reload packages/ only if existing
authorPaul Spooren <mail@aparcar.org>
Sat, 17 Oct 2020 20:06:03 +0000 (10:06 -1000)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 30 Oct 2020 00:39:09 +0000 (00:39 +0000)
commit04757f964b9dd4190b27d51914a4c0053d4a38cd
treefe5afcab815ce2d4ad08a591fd9fc69590982baf
parent2999f810ff2c968e6bbe5b2fd32cfbd80f83570a
build,IB: reload packages/ only if existing

With the fix of external kmod feeds it is possible to ship the
ImageBuilder without any packages except the pseudo packages kernel and
libc. Therefore the local package feeds becomes optional.

This commit adds a check to the package_reload function to only run if
the local feed is existing.

Signed-off-by: Paul Spooren <mail@aparcar.org>
target/imagebuilder/files/Makefile