Skip to content

Commit

Permalink
do not add kernel and depends to initrd.img
Browse files Browse the repository at this point in the history
  • Loading branch information
thir820 committed Oct 8, 2024
1 parent e0f48a0 commit 4a8cb59
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ebcl/tools/initrd/initrd.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,12 @@ def add_devices(self):

def download_deb_packages(self):
""" Download all needed deb packages. """
packages = self.config.packages.copy()
if self.config.kernel:
packages.remove(self.config.kernel)

(_debs, _contents, missing) = self.proxy.download_deb_packages(
packages=self.config.packages,
packages=packages,
contents=self.target_dir,
download_depends=True
)
Expand Down

0 comments on commit 4a8cb59

Please sign in to comment.