~anthonywong/+git/fwts:fix-snap-build

Last commit made on 2018-08-22
Get this branch:
git clone -b fix-snap-build https://git.launchpad.net/~anthonywong/+git/fwts
Only Anthony Wong can upload to this branch. If you are Anthony Wong please log in for upload directions.

Branch merges

Branch information

Name:
fix-snap-build
Repository:
lp:~anthonywong/+git/fwts

Recent commits

fde2cec... by Anthony Wong

add libbsd-dev

a45f3ee... by Alex Hung

lib: fwts_version.h - update to V18.08.00

Signed-off-by: Alex Hung <email address hidden>

22bf489... by Alex Hung

debian: update changelog

Signed-off-by: Alex Hung <email address hidden>

af92587... by Colin Ian King

snapcraft: remove libjson-c3 stage package, it is not required

Removing libjson-c3 stage package fixes a snap build failure on
Xenial, it is not required, so remove it.

Fixes snap build error:
Fetched 4780 kB in 0s (0 B/s)
Failed to fetch stage packages: Error downloading packages for
part 'fwts': The package 'libjson-c3' was not found..

Fixes: a6d5fc26e93d ("snapcraft: add missing stage packages")
Signed-off-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>
Acked-by: Ivan Hu <email address hidden>

c9072e1... by Alex Hung

README: add a new required package since commit 3f151922fc13

This also fixes a trailing space in README

Signed-off-by: Alex Hung <email address hidden>
Acked-by: Colin Ian King <email address hidden>
Acked-by: Ivan Hu <email address hidden>

a6d5fc2... by Colin Ian King

snapcraft: add missing stage packages

This includes some missing stage packages

Signed-off-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>
Acked-by: Ivan Hu <email address hidden>

3f15192... by Colin Ian King

Fix some strncpy/strcat gcc 8.2 warnings by using libbsd strlcpy/strlcat

Fix build issues on Debian Sid with gcc 8.2.0-3 - use the safer
strl* functions rather than strn* variants.

Thanks to Paul Menzel for reporting these issues.

Signed-off-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>
Acked-by: Ivan Hu <email address hidden>

b832987... by Ivan Hu

acpi: gtdt: add checking the valid base physical address

Some buggy firmwares on Arm server implement GTDT table without impementing
reasonable base physical address and causes kernel complains about failing
to get base address. Add checking for the valid base addresses on GTDT
table.

Signed-off-by: Ivan Hu <email address hidden>
Acked-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>

266634a... by Colin Ian King

lib: fwts_acpi_tables: unconstify data and don't strcpy ACPI table ids

Although it seems a good idea to make the ACPI table data const, we
may need to modify it when patching pointers if we make cached copies
of the data, so unconstify it.

Also, don't strncpy ACPI table IDs, instead memcpy them as they are
not really strings with terminating zero bytes.

Signed-off-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>
Acked-by: Ivan Hu <email address hidden>

5e67092... by Colin Ian King

coreboot: clog: rename list 'clog' to avoid name shadowing

Rename the list 'clog' to 'clog_list' to avoid name shadowing
confusion with various functions that use clog as an argument
too.

Signed-off-by: Colin Ian King <email address hidden>
Acked-by: Alex Hung <email address hidden>
Acked-by: Ivan Hu <email address hidden>