summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmake_boot_img5
1 files changed, 2 insertions, 3 deletions
diff --git a/make_boot_img b/make_boot_img
index 8716882f4..45f310919 100755
--- a/make_boot_img
+++ b/make_boot_img
@@ -750,12 +750,11 @@ sub isolinux {
}
sub xbox_stage1() {
- my $dir = 'isolinux/xbox';
+ my $xbox_kernel = find { /xbox/ } all('kernel/all.kernels') or return;
+ my $dir = 'isolinux/xbox';
eval { rm_rf($dir) }; mkdir_p($dir);
- my $xbox_kernel = find { /xbox/ } all('kernel/all.kernels') or return;
-
_ "cp kernel/all.kernels/$xbox_kernel/vmlinuz $dir";
initrd($tmp_mnt_initrd, 'all', '', "images/all.rdz-$xbox_kernel");
rename("images/all.rdz-$xbox_kernel", "$dir/initrd");