| Summary: | tftpboot images should have scp and nfs | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Matt Turner <mattst88> |
| Component: | [OLD] Core system | Assignee: | Sparc Porters <sparc> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | Sparc | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Matt Turner
2010-01-10 05:23:01 UTC
They do have dropbear's scp implementation, although renamed by the ebuild to dbscp. That might be a problem if you're copying a file from a remote machine using OpenSSH to the netboot host (you'll get the "scp: command not found" error).
Nonetheless, in the meantime, from the top of my head there are a few solutions:
1. Link dbscp to scp with: ln -s /usr/bin/dbscp /usr/bin/scp.
2. Copy the files from the netboot host with dbscp.
3. Use ssh to copy the file directly to the netboot host by using: cat ${FILE} | ssh root@netboot-host 'cat > /mnt/gentoo/${FILE}'.
As for making the images include the necessary things (ie add support in the kernel, and install nfs-utils) to mount NFS targets, I'll have to think about it.
There should be a new image in a mirror near you in the next couple of hours. It uses a tweaked net-misc/dropbear ebuild which symlinks /usr/bin/scp to /usr/bin/dbscp, and has support for mounting NFS targets by compiling the support into busybox, the kernel, and installing net-nds/portmap. No NFSv4 support, though. It's still experimental, anyway. Thanks for the report. |