diff --git a/ports/run/noux_bash.run b/ports/run/noux_bash.run index 4e8bfac28..07546417c 100644 --- a/ports/run/noux_bash.run +++ b/ports/run/noux_bash.run @@ -16,12 +16,28 @@ set build_components { } lappend build_components noux-pkg/bash lappend build_components noux-pkg/coreutils +lappend build_components noux-pkg/vim lappend build_components test/libports/ncurses build $build_components +# write default vimrc file +set vimrc_fd [open "bin/vim/share/vim/vimrc" w] +puts $vimrc_fd { +set noloadplugins +set hls +set nocompatible +set laststatus=2 +set noswapfile +set viminfo=} +close $vimrc_fd + +# strip all binaries prior archiving +exec sh -c "find bin/bash/ bin/vim/ bin/coreutils/ -type f | (xargs -ixxx strip xxx || true) 2>/dev/null" + exec tar cfv bin/bash.tar -h -C bin/bash . exec tar rfv bin/bash.tar -h -C bin/coreutils . +exec tar rfv bin/bash.tar -h -C bin/vim . create_boot_directory