#!/bin/bash

# This script updates the bootstrap stuff

(cd /usr/src/bootdisk/install ; make xc)

BINPROGS="bash cat chmod cp echo false gunzip gzip ln mkdir mv pwd rm rmdir sh tar true zcat"

(cd /bin ; tar -cSpf- $BINPROGS) | (cd bootstrap/bin ; tar -xvSpf-)

USRBINPROGS="Xconfigurator [ bash cpio dialog grep rpp-install sed sort test touch tput verify-install"

(cd /usr/bin ; tar -cSpf- $USRBINPROGS) | (cd bootstrap/usr/bin ; tar -xvSpf-)

(cd bootstrap; tar -cvSpf ../bootstrap.tar . | wc -l)
