File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ sudo debootstrap --arch=arm64 --foreign bookworm \
120120
121121``` bash
122122# Copy QEMU static binary for chroot emulation
123- sudo cp /usr/bin/qemu-aarch64-static ~ /arm64-rootfs/usr/bin/
123+ cp /usr/bin/qemu-aarch64-static ~ /arm64-rootfs/usr/bin/
124124```
125125
126126### 4.3 Complete the Bootstrap
183183
184184``` bash
185185# Copy kernel modules to rootfs
186- sudo cp -a ~ /linux/../modules_install/lib/modules ~ /arm64-rootfs/lib/
186+ cp -a ~ /linux/../modules_install/lib/modules ~ /arm64-rootfs/lib/
187187```
188188
189189---
@@ -212,7 +212,7 @@ mkdir -p /tmp/arm64-mnt
212212sudo mount -o loop ~ /arm64-disk.img /tmp/arm64-mnt
213213
214214# Copy rootfs contents
215- sudo cp -a ~ /arm64-rootfs/* /tmp/arm64-mnt/
215+ cp -a ~ /arm64-rootfs/* /tmp/arm64-mnt/
216216
217217# Unmount
218218sudo umount /tmp/arm64-mnt
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ make olddefconfig
106106### 3.3 Build the Kernel
107107
108108``` bash
109- make -j$( nproc) Image
109+ make -j$( nproc) Image modules dtbs
110110```
111111
112112The kernel image will be at ` arch/arm64/boot/Image ` .
@@ -396,7 +396,7 @@ mkfs.ext4 disk.img
396396``` bash
397397mkdir -p /tmp/arm64-mnt
398398sudo mount -o loop disk.img /tmp/arm64-mnt
399- sudo cp -a rootfs/* /tmp/arm64-mnt/
399+ cp -a rootfs/* /tmp/arm64-mnt/
400400sudo umount /tmp/arm64-mnt
401401```
402402
You can’t perform that action at this time.
0 commit comments