Update Buildroot to 2019.02.3 (#415)
* Update Buildroot to 2019-02.3 * Fix enter script * Update ova_defconfig * Fix network manager * Remove runc patches * Use same docker version * Fix build * Fix vmtools * Fix depens * Fix handling with tempfiles * Fix permission handling * Fix cp * Cleanup * Fix mounts
This commit is contained in:
@@ -31,10 +31,6 @@ config BR2_ROOTFS_SKELETON_CUSTOM_PATH
|
||||
help
|
||||
Path to custom target skeleton.
|
||||
|
||||
# dummy config so merged /usr workarounds can also be activated for
|
||||
# custom rootfs skeleton
|
||||
config BR2_ROOTFS_MERGED_USR
|
||||
|
||||
endif
|
||||
|
||||
if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
@@ -61,40 +57,22 @@ endif
|
||||
|
||||
choice
|
||||
bool "Passwords encoding"
|
||||
default BR2_TARGET_GENERIC_PASSWD_MD5
|
||||
default BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||
help
|
||||
Choose the password encoding scheme to use when Buildroot
|
||||
needs to encode a password (eg. the root password, below).
|
||||
|
||||
Note: this is used at build-time, and *not* at runtime.
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_MD5
|
||||
bool "md5"
|
||||
help
|
||||
Use MD5 to encode passwords.
|
||||
|
||||
The default. Wildly available, and pretty good.
|
||||
Although pretty strong, MD5 is now an old hash function, and
|
||||
suffers from some weaknesses, which makes it susceptible to
|
||||
brute-force attacks.
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_SHA256
|
||||
bool "sha-256"
|
||||
help
|
||||
Use SHA256 to encode passwords.
|
||||
|
||||
Very strong, but not ubiquitous, although available in glibc
|
||||
for some time now. Choose only if you are sure your C library
|
||||
understands SHA256 passwords.
|
||||
Use SHA256 to encode passwords which is stronger than MD5.
|
||||
|
||||
config BR2_TARGET_GENERIC_PASSWD_SHA512
|
||||
bool "sha-512"
|
||||
help
|
||||
Use SHA512 to encode passwords.
|
||||
|
||||
Extremely strong, but not ubiquitous, although available in
|
||||
glibc for some time now. Choose only if you are sure your C
|
||||
library understands SHA512 passwords.
|
||||
Use SHA512 to encode passwords which is stronger than SHA256
|
||||
|
||||
endchoice # Passwd encoding
|
||||
|
||||
@@ -210,8 +188,6 @@ config BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES
|
||||
help
|
||||
Support extended attributes handling in device tables
|
||||
|
||||
if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_ROOTFS_MERGED_USR
|
||||
bool "Use symlinks to /usr for /bin, /sbin and /lib"
|
||||
help
|
||||
@@ -224,6 +200,8 @@ config BR2_ROOTFS_MERGED_USR
|
||||
symlinks to their counterparts in /usr. In this case, /usr can
|
||||
not be a separate filesystem.
|
||||
|
||||
if BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_TARGET_ENABLE_ROOT_LOGIN
|
||||
bool "Enable root login with password"
|
||||
default y
|
||||
@@ -404,6 +382,16 @@ comment "automatic network configuration via DHCP needs ifupdown or busybox or n
|
||||
|
||||
endif # BR2_ROOTFS_SKELETON_DEFAULT
|
||||
|
||||
config BR2_SYSTEM_DEFAULT_PATH
|
||||
string "Set the system's default PATH"
|
||||
default "/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
help
|
||||
Sets the system's default PATH. It is being used in
|
||||
/etc/profile in the skeleton-init-common package and by some
|
||||
daemons.
|
||||
|
||||
The default should work in most cases.
|
||||
|
||||
config BR2_ENABLE_LOCALE_PURGE
|
||||
bool "Purge unwanted locales"
|
||||
default y
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
||||
export PATH=@PATH@
|
||||
|
||||
if [ "$PS1" ]; then
|
||||
if [ "`id -u`" -eq 0 ]; then
|
||||
|
||||
@@ -86,3 +86,7 @@ define SYSTEM_REMOUNT_ROOT_INITTAB
|
||||
$(SED) '/^[^#].*-o remount,rw \/$$/s~^~#~' $(TARGET_DIR)/etc/inittab
|
||||
endef
|
||||
endif
|
||||
|
||||
ifeq ($(BR_BUILDING)$(BR2_SYSTEM_DEFAULT_PATH),y"")
|
||||
$(error BR2_SYSTEM_DEFAULT_PATH can't be empty)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user