Always sign packages, security by default
Signed-off-by: Paul Spooren <mail@aparcar.org>
- Enabling per-device rootfs support
...
- config SIGNED_PACKAGES
- bool "Cryptographically signed package lists"
- default y
-
- config SIGNATURE_CHECK
- bool "Enable signature checking in opkg"
- default SIGNED_PACKAGES
comment "General build options"
define Package/base-files
SECTION:=base
CATEGORY:=Base system
- DEPENDS:=+netifd +libc +jsonfilter +SIGNED_PACKAGES:usign +SIGNED_PACKAGES:openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
+ DEPENDS:=+netifd +libc +jsonfilter usign openwrt-keyring +NAND_SUPPORT:ubi-utils +fstools +fwtool
TITLE:=Base filesystem for OpenWrt
URL:=http://openwrt.org/
VERSION:=$(PKG_RELEASE)-$(REVISION)
my $val;
my $type;
chomp;
- next if /^CONFIG_SIGNED_PACKAGES/;
if (/^CONFIG_((BINARY)|(DOWNLOAD))_FOLDER=(.*)$/) {
# We don't want to preserve the build setting of
bool "Select all userspace packages by default"
default y
- config SIGNED_PACKAGES
- bool "Cryptographically sign package lists"
- default y
-
comment "Package build options"
config DEBUG