mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
readme: link to ssh into guest procedure
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -1575,6 +1575,14 @@ Only this specific port works by default since we have forwarded it on the QEMU
|
||||
|
||||
We us this exact procedure to connect to <<gdbserver>>.
|
||||
|
||||
===== ssh into guest
|
||||
|
||||
https://unix.stackexchange.com/questions/124681/how-to-ssh-from-host-to-guest-using-qemu/307557#307557
|
||||
|
||||
Uses OpenSSH's `sshd`.
|
||||
|
||||
Not enabled by default due to the build / runtime overhead, but it was tested and worked at the time of this commit.
|
||||
|
||||
==== Guest to host
|
||||
|
||||
TODO. There is `guestfwd`, which sounds analogous to `hostwfd` used in the other sense, but I was not able to get it working, e.g.:
|
||||
@@ -2545,7 +2553,7 @@ export CCACHE_MAXSIZE="20G"
|
||||
The choice basically comes down to:
|
||||
|
||||
* should I store my cache on my HD or SSD?
|
||||
* how big is my build, and how many build configurarations do I need to keep around at a time?
|
||||
* how big is my build, and how many build configurations do I need to keep around at a time?
|
||||
|
||||
If you don't set it, the default is to use `~/.buildroot-ccache` with `5G`, which is a bit small for us.
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ BR2_PACKAGE_OVERRIDE_FILE="../buildroot_override"
|
||||
# For qemu-ga on guest. TODO: do something with it, and document it.
|
||||
BR2_PACKAGE_QEMU=y
|
||||
BR2_PACKAGE_STRACE=y
|
||||
#BR2_PACKAGE_OPENSSH=y
|
||||
BR2_ROOTFS_OVERLAY="../rootfs_overlay"
|
||||
BR2_ROOTFS_POST_BUILD_SCRIPT="../rootfs_post_build_script"
|
||||
BR2_ROOTFS_POST_IMAGE_SCRIPT="../rootfs_post_image_script"
|
||||
|
||||
Reference in New Issue
Block a user