1"use strict";(self.webpackChunksaurus=self.webpackChunksaurus||[]).push([[5366],{78195:(e,n,o)=>{o.r(n),o.d(n,{assets:()=>d,contentTitle:()=>l,default:()=>p,frontMatter:()=>i,metadata:()=>s,toc:()=>a});const s=JSON.parse('{"id":"developer-guide/projects/osbuild/modules/stages/org.osbuild.kernel-cmdline.bls-append","title":"org.osbuild.kernel-cmdline.bls-append","description":"\x3c!--","source":"@site/docs/developer-guide/02-projects/osbuild/modules/stages/org.osbuild.kernel-cmdline.bls-append.md","sourceDirName":"developer-guide/02-projects/osbuild/modules/stages","slug":"/developer-guide/projects/osbuild/modules/stages/org.osbuild.kernel-cmdline.bls-append","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.kernel-cmdline.bls-append","draft":false,"unlisted":false,"editUrl":"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.kernel-cmdline.bls-append.meta.json","tags":[],"version":"current","frontMatter":{"custom_edit_url":"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.kernel-cmdline.bls-append.meta.json"},"sidebar":"developer","previous":{"title":"org.osbuild.isolinux","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.isolinux"},"next":{"title":"org.osbuild.kernel-cmdline","permalink":"/docs/developer-guide/projects/osbuild/modules/stages/org.osbuild.kernel-cmdline"}}');var t=o(74848),r=o(28453);const i={custom_edit_url:"https://github.com/osbuild/osbuild/tree/main/stages/org.osbuild.kernel-cmdline.bls-append.meta.json"},l="org.osbuild.kernel-cmdline.bls-append",d={},a=[{value:"Schema 1",id:"schema-1",level:2},{value:"Schema 2",id:"schema-2",level:2}];function c(e){const n={a:"a",code:"code",h1:"h1",h2:"h2",header:"header",p:"p",pre:"pre",strong:"strong",...(0,r.R)(),...e.components};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.header,{children:(0,t.jsx)(n.h1,{id:"orgosbuildkernel-cmdlinebls-append",children:"org.osbuild.kernel-cmdline.bls-append"})}),"\n",(0,t.jsx)(n.p,{children:(0,t.jsx)(n.strong,{children:"Add kernel command line parameters to a BLS [1] config either in\nthe tree or in a mount."})}),"\n",(0,t.jsxs)(n.p,{children:["[1] ",(0,t.jsx)(n.a,{href:"https://freedesktop.org/wiki/Specifications/BootLoaderSpec/",children:"https://freedesktop.org/wiki/Specifications/BootLoaderSpec/"})]}),"\n",(0,t.jsx)(n.h2,{id:"schema-1",children:"Schema 1"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:"{}\n"})}),"\n",(0,t.jsx)(n.h2,{id:"schema-2",children:"Schema 2"}),"\n",(0,t.jsx)(n.pre,{children:(0,t.jsx)(n.code,{className:"language-json",children:'{\n "options": {\n "additionalProperties": false,\n "required": [\n "kernel_opts"\n ],\n "properties": {\n "kernel_opts": {\n "description": "Additional kernel command line options",\n "type": "array",\n "items": {\n "description": "A single kernel command line option",\n "type": "string"\n }\n },\n "bootpath": {\n "type": "string",\n "description": "The mounted location of the boot filesystem tree where the BLS entries will be under ./loader/entries/*.conf",\n "pattern": "^(mount|tree):///",\n "examples": [\n "tree:///boot",\n "mount:///",\n "mount:///boot"\n ],\n "default": "tree:///boot"\n }\n }\n },\n "devices": {\n "type": "object",\n "additionalProperties": true\n },\n "mounts": {\n "type": "array"\n }\n}\n'})})]})}function p(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,t.jsx)(n,{...e,children:(0,t.jsx)(c,{...e})}):c(e)}},28453:(e,n,o)=>{o.d(n,{R:()=>i,x:()=>l});var s=o(96540);const t={},r=s.createContext(t);function i(e){const n=s.useContext(r);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function l(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(t):e.components||t:i(e.components),s.createElement(r.Provider,{value:n},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.