mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-12 19:09:56 +03:00
export: allow to export vmlinuz files which have any suffix
This is useful, for example, to export alpine linux kernels. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2621
This commit is contained in:
parent
562e6519d5
commit
d9560962ac
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,6 @@ def symlinks(flavor: str, folder: Path) -> None:
|
|||
path_boot / f"boot.img{suffix}",
|
||||
path_boot / f"uInitrd{suffix}",
|
||||
path_boot / f"uImage{suffix}",
|
||||
path_boot / f"vmlinuz{suffix}",
|
||||
path_boot / "dtbo.img",
|
||||
chroot_native / "home/pmos/rootfs" / f"{device}.img",
|
||||
chroot_native / "home/pmos/rootfs" / f"{device}-boot.img",
|
||||
|
@ -60,7 +59,8 @@ def symlinks(flavor: str, folder: Path) -> None:
|
|||
path_boot / "lk2nd.img",
|
||||
]
|
||||
|
||||
files += list(path_boot.glob(f"initramfs{suffix}*"))
|
||||
files += list(path_boot.glob("initramfs*"))
|
||||
files += list(path_boot.glob("vmlinuz*"))
|
||||
|
||||
# Iterate through all files
|
||||
for file in files:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue