Skip to content

ddrown/mosh-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To download build environment:

docker pull ddrown/mosh-build

To build mosh binaries:

OUTPUTDIR=~/target
mkdir $OUTPUTDIR
docker run -v $OUTPUTDIR:/target ddrown/mosh-build

This will create 7 packages in $OUTPUTDIR:

  • mosh_*_arm.ipk.pie
  • mosh_*_arm.ipk.nopie
  • mosh_*_x86.ipk.pie
  • mosh_*_x86.ipk.nopie
  • mosh_*_mips.ipk.pie
  • mosh_*_mips.ipk.nopie
  • ncurses*_arm.ipk

As well as the files (extracted from the packages):

  • bin/mosh-client.{arm,x86,mips}.{pie,nopie}
  • share/terminfo/*

The terminfo files come from the ncurses package

Options: add -e PACKAGE_NAME=com.mosh.kosh.bagosh to the command line if your terminfo will be in a different package. mosh-client will expect them in /data/data/$PACKAGE_NAME/files/share/terminfo/

To build a modified mosh:

OUTPUTDIR=~/target
mkdir $OUTPUTDIR
docker run -i -t -v $OUTPUTDIR:/target ddrown/mosh-build /home/admin/shell
[make modifications]
/home/admin/build

About

mosh build files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages