Something went wrong. Try again.
(I'm so sorry!) Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970# bootconfig.conf## Tests to test some bootconfig scripts
# List where on the target machine the initrd is usedINITRD := /boot/initramfs-test.img
# Install bootconfig on the target machine and define the path here.BOOTCONFIG := /usr/bin/bootconfig
# Currenty we just build the .config in the BUILD_DIRBUILD_TYPE := oldconfig
# Helper macro to run bootconfig on the target# SSH is defined in include/defaults.confADD_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d ${INITRD} && ${BOOTCONFIG} -a /tmp/${BOOTCONFIG_FILE} ${INITRD}"
# This copies a bootconfig script to the target and then will# add it to the initrd. SSH_USER is defined in include/defaults.conf# and MACHINE is defined in the example configs.BOOTCONFIG_TEST_PREP = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_FILE} ${SSH_USER}@${MACHINE}:/tmp && ${ADD_BOOTCONFIG}
# When a test is complete, remove the bootconfig from the initrd.CLEAR_BOOTCONFIG := ${SSH} "${BOOTCONFIG} -d ${INITRD}"
# Run a verifier on the target after it had booted, to make sure that the# bootconfig script did what it was expected to doDO_TEST = scp ${BOOTCONFIG_PATH}${BOOTCONFIG_VERIFY} ${SSH_USER}@${MACHINE}:/tmp && ${SSH} /tmp/${BOOTCONFIG_VERIFY}
# Comment this out to not run the boot configsRUN_BOOTCONFIG := 1
TEST_START IF DEFINED RUN_BOOTCONFIGTEST_TYPE = testTEST_NAME = bootconfig boottrace# Just testing the bootconfig on initrd, no need to build the kernelBUILD_TYPE = nobuildBOOTCONFIG_FILE = boottrace.bconfBOOTCONFIG_VERIFY = verify-boottrace.shADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfigPRE_TEST = ${BOOTCONFIG_TEST_PREP}PRE_TEST_DIE = 1TEST = ${DO_TEST}POST_TEST = ${CLEAR_BOOTCONFIG}
TEST_START IF DEFINED RUN_BOOTCONFIGTEST_TYPE = testTEST_NAME = bootconfig function graphBUILD_TYPE = nobuildBOOTCONFIG_FILE = functiongraph.bconfBOOTCONFIG_VERIFY = verify-functiongraph.shADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfigPRE_TEST = ${BOOTCONFIG_TEST_PREP}PRE_TEST_DIE = 1TEST = ${DO_TEST}POST_TEST = ${CLEAR_BOOTCONFIG}
TEST_START IF DEFINED RUN_BOOTCONFIGTEST_TYPE = testTEST_NAME = bootconfig tracingBUILD_TYPE = nobuildBOOTCONFIG_FILE = tracing.bconfBOOTCONFIG_VERIFY = verify-tracing.shADD_CONFIG = ${ADD_CONFIG} ${BOOTCONFIG_PATH}/config-bootconfigPRE_TEST = ${BOOTCONFIG_TEST_PREP}PRE_TEST_DIE = 1TEST = ${DO_TEST}POST_TEST = ${CLEAR_BOOTCONFIG}