Merge pull request #12 from hillct/master

Add RHEL/Centos docs, move to wpa_supplicant v2.0 and fix /etc bug
This commit is contained in:
Dan Krause 2013-12-03 07:23:38 -08:00
commit fe932eeebb
4 changed files with 12 additions and 1 deletions

View File

@ -3,11 +3,14 @@ kcard-buildroot
Buildroot configuration for building a custom rootfs for KeyASIC WifiSD based cards. This does not currently build a kernel, but that is [planned](https://github.com/dankrause/kcard-buildroot/issues/9). Check the [releases](https://github.com/dankrause/kcard-buildroot/releases) section for pre-built images that are ready to use immediately.
To build your own image on Ubuntu derivatives:
To build your own image on Ubuntu/RHEL/Centos derivatives:
```bash
# install buildroot dependencies (this list may be incomplete - contributions welcome)
# Using apt-get:
sudo apt-get install build-essential bison flex gettext libncurses5-dev texinfo autoconf automake libtool
# OR using Yum:
sudo yum install subversion make gcc ncurses-devel bison flex gawk bc vim-common
# download and extract buildroot 2013.08.1
wget http://buildroot.uclibc.org/downloads/buildroot-2013.08.1.tar.bz2

View File

@ -19,3 +19,5 @@ OUT="$1/initramfs3.gz"
# FIXME: printf gets the byte order wrong here on a big endian system
printf "0: 4b41475a%.8x" $(wc -c < "$IN") | xxd -r -g0 | cat - "$IN" > "$OUT"
# Automating /etc workaround: https://github.com/dankrause/kcard-buildroot/issues/4
cp -an $TARGET_DIR/usr/share/mtd/etc/* $TARGET_DIR/etc

View File

@ -18,6 +18,12 @@ BR2_PACKAGE_ZLIB=y
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_RSYNC=y
BR2_PACKAGE_WIRELESS_TOOLS=y
BR2_PACKAGE_WPA_SUPPLICANT=y
BR2_PACKAGE_WPA_SUPPLICANT_EAP=y
BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT=y
BR2_PACKAGE_WPA_SUPPLICANT_WPS=y
BR2_PACKAGE_DTACH=y
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y