Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/mtree-to-plist.awk
Show All 22 Lines | for (i=2; i<=NF; i++) { | ||||
} | } | ||||
} | } | ||||
if (kernel != "") { | if (kernel != "") { | ||||
tags="package=kernel" | tags="package=kernel" | ||||
if (_kernconf != "") { | if (_kernconf != "") { | ||||
tags=tags""_kernconf | tags=tags""_kernconf | ||||
} | } | ||||
} | } | ||||
if ($1 ~ /^\/boot\//) { | |||||
tags="package=bootloader" | |||||
} | |||||
if (length(tags) == 0) | if (length(tags) == 0) | ||||
next | next | ||||
if (tags ~ /package=/) { | if (tags ~ /package=/) { | ||||
ext = pkgname = pkgend = "" | ext = pkgname = pkgend = "" | ||||
split(tags, a, ","); | split(tags, a, ","); | ||||
for (i in a) { | for (i in a) { | ||||
if (a[i] ~ /^package=/) { | if (a[i] ~ /^package=/) { | ||||
pkgname=a[i] | pkgname=a[i] | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |