Skip to content

Commit

Permalink
[onert/cross] Update rootfs script and document (Samsung#13882)
Browse files Browse the repository at this point in the history
This commit updates rootfs script and document for ubuntu 24.04.
Ubuntu 24.04 does not support `qemu` package any more.

ONE-DCO-1.0-Signed-off-by: Hyeongseok Oh <[email protected]>
  • Loading branch information
hseok-oh authored Sep 3, 2024
1 parent 39c3209 commit 176a356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/howto/how-to-cross-build-runtime-for-arm.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Install required packages

```
$ sudo apt-get install qemu qemu-user-static binfmt-support debootstrap
$ sudo apt-get install qemu-user-static binfmt-support debootstrap
```

Use `install_rootfs.sh` script to prepare Root File System. You should have `sudo`
Expand Down
2 changes: 1 addition & 1 deletion tools/cross/install_rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if [ $__IsProxySet == 1 ]; then
fi

if [[ -n $__LinuxCodeName ]]; then
qemu-debootstrap --arch $__QemuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
debootstrap --arch $__QemuArch $__LinuxCodeName $__RootfsDir $__UbuntuRepo
cp $__CrossDir/$__BuildArch/sources.list.$__LinuxCodeName $__RootfsDir/etc/apt/sources.list
chroot $__RootfsDir apt-get update
chroot $__RootfsDir apt-get -f -y install
Expand Down

0 comments on commit 176a356

Please sign in to comment.