专栏名称: 阿群1986
目录
相关文章推荐
环球物理  ·  【思维导图】中考物理全复习思维导图 ·  18 小时前  
环球物理  ·  【物理动图】初中物理动图合集 ·  昨天  
环球物理  ·  【初中物理】解题技巧+方法总结,非常实用 ·  2 天前  
中科院物理所  ·  原子时的前世今生 ·  3 天前  
51好读  ›  专栏  ›  阿群1986

Ubuntu snap 定制内核插件

阿群1986  · 简书  ·  · 2017-12-19 16:09

正文

https://docs.snapcraft.io/reference/plugins/kernel

Snapcraft提供的内核编译插件

The kernel plugin refines the generic kbuild plugin to allow building kernel snaps with all the bells and whistles in one shot…

WARNING: this plugin’s API is unstable. The cross compiling support is experimental.

The following kernel specific options are provided by this plugin :
Snapcraft提供提供以下编译选项 :

  • kernel-image-target:
    (yaml object or string; default: bzImage)
    the default target is bzImage and can be set to any specific
    target.
    For more complex cases where one would want to use
    the same snapcraft.yaml to target multiple architectures a
    yaml object can be used. This yaml object would be a map of
    debian architecture and kernel image build targets.

  • kernel-initrd-modules:
    (array of string)
    list of modules to include in initrd; note that kernel snaps do not
    provide the core boot logic which comes from snappy Ubuntu Core
    OS snap. Include all modules you need for mounting rootfs here.

  • kernel-with-firmware:
    (boolean; default: True)
    use this flag to disable shipping binary firmwares

  • kernel-initrd-firmware:
    (array of string)







请到「今天看啥」查看全文