Bump buidlroot version to 2018.02.6
This commit is contained in:
@@ -510,7 +510,7 @@ int main(int argc, char **argv)
|
||||
|
||||
linenum++;
|
||||
|
||||
if (1 == sscanf(line, "|xattr %254s", xattr)) {
|
||||
if (1 == sscanf(line, " |xattr %254s", xattr)) {
|
||||
#ifdef EXTENDED_ATTRIBUTES
|
||||
if (!full_name)
|
||||
bb_error_msg_and_die("line %d should be after a file\n", linenum);
|
||||
@@ -570,9 +570,12 @@ int main(int argc, char **argv)
|
||||
ret = EXIT_FAILURE;
|
||||
goto loop;
|
||||
}
|
||||
} else if (type == 'f') {
|
||||
} else if (type == 'f' || type == 'F') {
|
||||
struct stat st;
|
||||
if ((stat(full_name, &st) < 0 || !S_ISREG(st.st_mode))) {
|
||||
if (type == 'F') {
|
||||
continue; /*Ignore optional files*/
|
||||
}
|
||||
bb_perror_msg("line %d: regular file '%s' does not exist", linenum, full_name);
|
||||
ret = EXIT_FAILURE;
|
||||
goto loop;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
MAKEDEVS_LICENSE = GPLv2
|
||||
MAKEDEVS_LICENSE = GPL-2.0
|
||||
|
||||
HOST_MAKEDEVS_CFLAGS = $(HOST_CFLAGS)
|
||||
HOST_MAKEDEVS_LDFLAGS = $(HOST_LDFLAGS)
|
||||
@@ -21,7 +21,7 @@ define HOST_MAKEDEVS_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define HOST_MAKEDEVS_INSTALL_CMDS
|
||||
$(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/usr/bin/makedevs
|
||||
$(INSTALL) -D -m 755 $(@D)/makedevs $(HOST_DIR)/bin/makedevs
|
||||
endef
|
||||
|
||||
$(eval $(host-generic-package))
|
||||
|
||||
Reference in New Issue
Block a user