diff options
Diffstat (limited to 'packages/makedevs')
-rw-r--r-- | packages/makedevs/makedevs_1.0.0.bb | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/packages/makedevs/makedevs_1.0.0.bb b/packages/makedevs/makedevs_1.0.0.bb index a80a518709..249e1a47c4 100644 --- a/packages/makedevs/makedevs_1.0.0.bb +++ b/packages/makedevs/makedevs_1.0.0.bb @@ -2,9 +2,13 @@ DESCRIPTION = "A tool to make device nodes" LICENSE = "GPL" SECTION = "base" PRIORITY = "required" + SRC_URI = "file://makedevs.c" S = "${WORKDIR}/makedevs-${PV}" -PR = "r5" + +PR = "r6" + +inherit update-alternatives do_configure() { install -m 0644 ${WORKDIR}/makedevs.c ${S}/ @@ -16,5 +20,12 @@ do_compile() { do_install() { install -d ${D}${base_sbindir} - install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs + install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs.makedevs } + +ALTERNATIVE_PATH = "${base_sbindir}/makedevs.makedevs" +ALTERNATIVE_NAME = "makedevs" +ALTERNATIVE_LINK = "${base_sbindir}/makedevs" +ALTERNATIVE_PRIORITY = "50" + + |