| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | # some way to download the kernel. --- prototype idea? |
| 3 | # |
| 4 | # references: crosshurd: /usr/share/crosshurd/functions |
| 5 | |
| 6 | # TODO: actually think about implementation. |
| 7 | |
| 8 | DEB_TARGET_ARCH=$1 |
| 9 | shift |
| 10 | apt_options="--option Debug::Nolocking=true --option APT::Architecture=$DEB_TARGET_ARCH --option APT::Get::Force-Yes=true --option APT::Get::Download-Only=true" |
| 11 | apt-getscip-shell system . . apt-get. $apt_options "$@" |
| 12 | |
| 13 | # ./crossapt.sh update |
| 14 | # ./crossapt.sh install (fails, because too many things are missing.) |