Add VIM to 'noux_bash.run'

This commit is contained in:
Norman Feske 2012-03-21 22:46:22 +01:00
parent 76c106dac0
commit 08d4e68db1

View File

@ -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