skeleton-custom: use a script to check merged usr structure
authorCarlos Santos <casantos@datacom.ind.br>
Mon, 7 May 2018 14:44:27 +0000 (11:44 -0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Feb 2019 16:03:30 +0000 (17:03 +0100)
commitbf2a308578bddf7cbc5d9273bcec50f063e82da2
treefa917d863119ba3f38c3e78579b4e5001e6c43fb
parentcab8bd3b46badb11e734e64747aee848c2b4282d
skeleton-custom: use a script to check merged usr structure

Introduce support/scripts/check-merged-usr.sh, a script that check if a
given path complies to the merged /usr requirements:

    /
    /bin -> usr/bin
    /lib -> usr/lib
    /sbin -> usr/sbin
    /usr/bin/
    /usr/lib/
    /usr/sbin/

Use this script in skeleton-custom.mk instead of a bunch of variables
filled by $(shell ...) macros. The same script will be used to check
rootfs overlays, in a forthcoming change.

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/skeleton-custom/skeleton-custom.mk
support/scripts/check-merged-usr.sh [new file with mode: 0755]