https://github.com/mdegans/enter_chroot
embedded development chroot entering tool
https://github.com/mdegans/enter_chroot
Last synced: 4 months ago
JSON representation
embedded development chroot entering tool
- Host: GitHub
- URL: https://github.com/mdegans/enter_chroot
- Owner: mdegans
- License: mit
- Created: 2019-12-11T01:23:31.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T03:32:24.000Z (over 5 years ago)
- Last Synced: 2025-01-12T21:33:30.361Z (5 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 13
- Watchers: 4
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# enter_chroot.sh
This script, copies qemu-aarch64-static to a rootfs, mounts special filesystems,
and then enters a chroot so you can interactively edit the rootfs prior to
first boot. It's tested on ubuntu 18.04 x86-64.enter_chroot.sh can be used to add .deb packages, add users, update the system,
compile your software, and in some cases run tests on your software *before the
first boot happens*.```
usage: ./enter_chroot.sh rootfs_path
```If you are on Tegra, for example, run `sudo enter_chroot.sh rootfs`
from inside the `Linux_for_Tegra` folder that SDKManager downloads for you
for your board (`~/nvidia/nvidia_sdk/JetPack_$(VERSION)/Linux_for_Tegra` by
default as of writing).## editing:
If you wish to use another architecture for emulation (eg, arm), please edit
the ARCH and/or BIN variables.