No description
Find a file
2016-03-21 23:48:28 -04:00
configs Initial import 2016-03-21 23:45:48 -04:00
rootfs_overlay/etc/init.d Initial import 2016-03-21 23:45:48 -04:00
Config.in Initial import 2016-03-21 23:45:48 -04:00
external.mk Initial import 2016-03-21 23:45:48 -04:00
Makeusers Initial import 2016-03-21 23:45:48 -04:00
quagga.patch Initial import 2016-03-21 23:45:48 -04:00
README.md Update README.md 2016-03-21 23:48:28 -04:00

git clone https://github.com/mjeanson/nsec-router.git
wget https://buildroot.org/downloads/buildroot-2016.02.tar.bz2
tar xvf buildroot-2016.02.tar.bz2
cd buildroot-2016.02
patch -p0 < ../nsec-router/quagga.patch
make BR2_EXTERNAL=../nsec-router nsec_defconfig
make BR2_JLEVEL=$(nproc)

cat << EOF > metadata.yaml
architecture: x86_64
creation_date: $(date +%s)
properties:
  description: NSEC router
  os: busybox
EOF

tar -cf metadata.tar metadata.yaml

lxc image import metadata.tar output/images/rootfs.tar --alias nsec-router