mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Mark packages that have <noembedded> tag to conflict with pfSense-base-nanobsd
This commit is contained in:
parent
1f5207bcd7
commit
7ca9339938
@ -386,6 +386,9 @@ function create_port($pkg) {
|
||||
$makefile[] = $port_use;
|
||||
}
|
||||
}
|
||||
if (isset($pkg['noembedded'])) {
|
||||
$pkg['conflicts'] = $product_name . '-base-nanobsd-[0-9]*' . (isset($pkg['conflicts']) ? ' ' . $pkg['conflicts'] : '');
|
||||
}
|
||||
if (isset($pkg['conflicts']) && !empty($pkg['conflicts'])) {
|
||||
$makefile[] = "";
|
||||
$makefile[] = "CONFLICTS=\t" . $port_name_prefix . $pkg['conflicts'] . '-[0-9]*';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user