Skip to content

Commit 70e9c90

Browse files
ravanellijlebon
authored andcommitted
grub.cfg: Remove grub.cfg in bootupd favor
- Bootupd used this file as a reference to generate static GRUB config files, the actual grub.cfg installed on the system comes from bootupd; - Remove grub.cfg since this file is not used here anymore. Signed-off-by: Renata Ravanelli <[email protected]>
1 parent 7f06c1d commit 70e9c90

File tree

2 files changed

+0
-96
lines changed

2 files changed

+0
-96
lines changed

src/cosalib/cmdlib.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,9 +447,6 @@ def generate_image_json(srcfile):
447447
r = yaml.safe_load(open("/usr/lib/coreos-assembler/image-default.yaml"))
448448
for k, v in flatten_image_yaml(srcfile).items():
449449
r[k] = v
450-
# Serialize our default GRUB config
451-
with open("/usr/lib/coreos-assembler/grub.cfg") as f:
452-
r['grub-script'] = f.read()
453450
return r
454451

455452

src/grub.cfg

Lines changed: 0 additions & 93 deletions
This file was deleted.

0 commit comments

Comments
 (0)