{"id":17115233,"url":"https://github.com/sundarnagarajan/kernel_build","last_synced_at":"2025-03-23T23:43:40.772Z","repository":{"id":132721748,"uuid":"112271767","full_name":"sundarnagarajan/kernel_build","owner":"sundarnagarajan","description":"Download and build Linux kernel source from kernel.org","archived":false,"fork":false,"pushed_at":"2021-04-16T06:29:50.000Z","size":590,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T06:51:17.696Z","etag":null,"topics":["automatic","build","download","kernel","linux"],"latest_commit_sha":null,"homepage":null,"language":"Roff","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sundarnagarajan.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_GPLv3","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-11-28T01:53:35.000Z","updated_at":"2023-06-28T09:00:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"479188a8-63f3-4ff0-a160-b013a24e9072","html_url":"https://github.com/sundarnagarajan/kernel_build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundarnagarajan%2Fkernel_build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundarnagarajan%2Fkernel_build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundarnagarajan%2Fkernel_build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundarnagarajan%2Fkernel_build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundarnagarajan","download_url":"https://codeload.github.com/sundarnagarajan/kernel_build/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245186921,"owners_count":20574554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic","build","download","kernel","linux"],"created_at":"2024-10-14T17:22:25.002Z","updated_at":"2025-03-23T23:43:40.748Z","avatar_url":"https://github.com/sundarnagarajan.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"Now support uploading to a local debian repository\nInstall reprepro package and do man reprepro and look at files under\nsamples/local_repository_config for information\nAlso look at: https://wiki.debian.org/DebianRepository/SetupWithReprepro\n\nRemoved bintray-related files - bintray Debian repos don't get\nsigned properly / automatically so far.\n\nNow dominant way to use is using config:\n~/.kernel_build_config\nLook at samples/sample_kernel_build.config for an annotated example\nCan still use environment variables, but number of variables\nhave increased and will be clumsy.\n\nIf you are ONLY building kernel locally, and do NOT want:\n- Source debs for uploading to Launchpad\n- Creation of metapackages\n- Uploading to local repo\nthen do one of the following:\n\n    1. Continue as before, but add KERNEL__NO_SRC_PKG=yes to\n       environment variables\n\n    2. Start a minimal config and make sure you set:\n       KERNEL__NO_SRC_PKG=yes    - avoid building source packages\n       unset METAPKG_BUILD_DIR   - avoid building metapackages\n       unset LOCAL_DEB_REPO_DIR  - avoid uploading to local repo\n\nIf you _DO_ want to build metapackages, the metapackages are\nautomatically built when you call patch_and_build_kernel.sh\nRIGHT AT THE BEGINNING, so that you can enter the passphrase\nas early as possible, instead of waiting for the kernel download\nand compilation to finish.\n\nSequence:\n\n    1. Run patch_and_build_kernel.sh\n    2. Run local_upload.sh - if desired\n    3. Run ppa_upload.sh - if desired\n\nDownload and build Linux kernel source from kernel.org\n\n-   Has 'one-touch' default behavior\n-   Behavior can be customized using environment variables\n\nDEFAULT behavior:\n\n-   Kernel source is downloaded and built in CURRENT DIRECTORY (not\n    necessarily where patch_and_build_kernel.sh is)\n-   Will automatically download and build the LATEST kernel\n-   Will automatically upgrade kernel config when moving to next major\n    version\n    -   For new config entries:\n        -   Anything that can become a module will be modularized\n        -   Everything else gets the DEFAULT value\n-   DEBS will be built in a sub-directory named 'debs' under CURRENT\n    DIRECTORY (not necessarily where patch_and_build_kernel.sh is)\n-   The 'debs' directory will be deleted and re-created if it exists\n-   Will use config.kernel in the directory patch_and_build_kernel.sh is\n-   Defaults to using (available_cores -1) cores\n-   config.prefs in directory where patch_and_build_kernel.sh is can\n    contain name=value pairs that will be applied to the config while\n    building\n\nThings that can be changed using environment variables:\n\nSee samples/sample_kernel.config for a list of environment variables\nthat can be set, their default values and meanings\n\nThe additional environment variable KERNEL_BUILD_CONFIG can be set to\npoint at the config file to be sourced - defaults to\n~/.kernel_build.config.\n\nIf you are uploading to bintray, see samples/sample_bintray.config for a\nlist of environment variables that MUST be set for upload to work.\n\nThe additional environment variable BINTRAY_CONFIG can be set to point\nat bintray config file to source - defaults to ~/.bintray.config\n\nconfig.prefs or KERNEL_CONFIG_PREFS format:\n\n-   Lines starting with '#' are ignored\n-   Blank lines are ignored\n-   Valid lines should contain:\n    name=value OR\n    name = value\n-   Regex is '^\\s_(?P\\S+)\\s_=\\s*(?P\\S+)'\n\nPackages required:\n\n-   Run required_pkgs.sh in this directory to check and report missing\n    packages\n-   patch_and_build_kernel.sh automatically calls this when it runs\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundarnagarajan%2Fkernel_build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundarnagarajan%2Fkernel_build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundarnagarajan%2Fkernel_build/lists"}