Skip to content

Commit 92c7558

Browse files
authored
Merge pull request #52 from marcosps/mpdesouza_busybox_tumbleweed
mkinitramfs.py: Search for busybox{.,-}static first
2 parents 8a91417 + f2b13f8 commit 92c7558

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

virtme/mkinitramfs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def mkinitramfs(out, config) -> None:
169169
def find_busybox(root, is_native) -> Optional[str]:
170170
for p in itertools.product(['usr/local', 'usr', ''],
171171
['bin', 'sbin'],
172-
['', '-static', '.static']):
172+
['-static', '.static', '']):
173173
path = os.path.join(root, p[0], p[1], 'busybox' + p[2])
174174
if os.path.isfile(path):
175175
return path

0 commit comments

Comments
 (0)