Skip to content

Commit

Permalink
grub.cfg: Remove grub.cfg in bootupd favor
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
ravanelli authored and jlebon committed Oct 17, 2024
1 parent 7f06c1d commit 70e9c90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 96 deletions.
3 changes: 0 additions & 3 deletions src/cosalib/cmdlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,9 +447,6 @@ def generate_image_json(srcfile):
r = yaml.safe_load(open("/usr/lib/coreos-assembler/image-default.yaml"))
for k, v in flatten_image_yaml(srcfile).items():
r[k] = v
# Serialize our default GRUB config
with open("/usr/lib/coreos-assembler/grub.cfg") as f:
r['grub-script'] = f.read()
return r


Expand Down
93 changes: 0 additions & 93 deletions src/grub.cfg

This file was deleted.

0 comments on commit 70e9c90

Please sign in to comment.