[ -n ] doesn't work on unquoted variables. The variable either needs to
get quoted or use [[ ]]. Without this the script always defines buildid.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
Upstream finally merged the lockdown patches, adjust the SysRq patch to
work with the upstreamed version.
Signed-off-by: Jeremy Cline <jcline@redhat.com>
This is a first pass at getting the secureboot patches working with the
upstream lockdown patches that got merged. The final patch from our
lockdown set is the sysrq patch which also needs work. For the present
it is not applied.
Found CONFIG_REGMAP_I2C=m after generation, had CONFIG_REGMAP_I2C=y in Source tree
Found CONFIG_REGMAP_SPI=m after generation, had CONFIG_REGMAP_SPI=y in Source tree
Cannot make then built-in, something forces them to be modules.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Found CONFIG_CRC7=y after generation, had CONFIG_CRC7=m in Source tree
Found CONFIG_CRC_ITU_T=y after generation, had CONFIG_CRC_ITU_T=m in Source tree
Found CONFIG_REGMAP_SPI=m after generation, had CONFIG_REGMAP_SPI=y in Source tree
Still trying to get CONFIG_REGMAP_SPI=y to match OpenEmbedded config.
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Found CONFIG_MMC_SPI=m after generation, had CONFIG_MMC_SPI=y in Source tree
Found CONFIG_REGMAP_SPI=m after generation, had CONFIG_REGMAP_SPI=y in Source tree
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Upstream renamed the setting to DEBUG_KMEMLEAK_MEM_POOL_SIZE in upstream
commit c5665868183f and changed the default to 16000 in upstream commit
b751c52bb587.