diff options
author | makefu <github@syntax-fehler.de> | 2013-01-10 14:37:10 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2013-01-10 14:37:10 +0100 |
commit | 7296c90dff5e260c6279aed071fe507a4ddedc4a (patch) | |
tree | f569e130dee7b084c1afc078e0d19e17b7578362 /minikrebs | |
parent | 9b29cf3939802ab1cf634e6185f5b0beac52e590 (diff) |
emergency commit, i am so sorry...
Diffstat (limited to 'minikrebs')
97 files changed, 718 insertions, 46 deletions
diff --git a/minikrebs/doc/SETUP b/minikrebs/doc/SETUP deleted file mode 100644 index f8e9ca3b..00000000 --- a/minikrebs/doc/SETUP +++ /dev/null @@ -1,2 +0,0 @@ -make command used in image builder. files is the customfiles directory -make image PROFILE=TLWR703 PACKAGES="tinc curl kmod-ipv6 radvd ip wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-usb-storage -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe" FILES=files/ diff --git a/minikrebs/prepare b/minikrebs/prepare index 610c1299..6b69db50 100755 --- a/minikrebs/prepare +++ b/minikrebs/prepare @@ -24,6 +24,7 @@ echo echo "copying generic init:" cp --remove-destination profiles/init builder/init echo " profile/init -> builder/init" +[ -e builder/overlay ] && echo "removing old overlay" && rm -rf builder/overlay echo echo "copying profile:" find profiles/$PROFILE -mindepth 1 -maxdepth 1| while read file; do @@ -34,4 +35,11 @@ done echo echo $PROFILE > builder/current_profile -echo 'now run `builder/init`' +echo "Finished Preparing Profile $PROFILE" +echo 'run `builder/init`' + +if [ -e builder/overlay ];then + echo + echo "This profile also contains overlay data," + echo 'run `builder/init_overlay` to copy' +fi diff --git a/minikrebs/profiles/README.md b/minikrebs/profiles/README.md index fc1e8945..9e324d9e 100644 --- a/minikrebs/profiles/README.md +++ b/minikrebs/profiles/README.md @@ -1,4 +1,9 @@ +# Profiles Every profile must have a `custom_make` script which builds the image for the profile. This script also can contain which customizes the image files before building. + +You may also want to include your own files into your image, adding file=customfile in your custom\_make. + +default password is `aidsballs` diff --git a/minikrebs/profiles/camkrebs_uvc/custom_make b/minikrebs/profiles/camkrebs_uvc/custom_make deleted file mode 100755 index 752a7bfe..00000000 --- a/minikrebs/profiles/camkrebs_uvc/custom_make +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq kmod-video-uvc mjpg-streamer" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer b/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer deleted file mode 120000 index 11b1e90d..00000000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.d/S91mjpg-streamer +++ /dev/null @@ -1 +0,0 @@ -../init.d/mjpg-streamer
\ No newline at end of file diff --git a/minikrebs/profiles/camkrebs_zc3xx/custom_make b/minikrebs/profiles/camkrebs_zc3xx/custom_make index 8f9faf10..642513be 100755 --- a/minikrebs/profiles/camkrebs_zc3xx/custom_make +++ b/minikrebs/profiles/camkrebs_zc3xx/custom_make @@ -1,3 +1,3 @@ #!/bin/sh -make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 radvd kmod-fs-ext4 wireless-tools kmod-usb-core kmod-usb2 kmod-video-gspca-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq" FILES=customfiles/ +make image PROFILE=TLWR703 PACKAGES="tinc ip kmod-ipv6 kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-gspca-zc3xx mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd" FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md index 3f93bfda..1b3d4beb 100644 --- a/minikrebs/profiles/camkrebs_zc3xx/doc/README.md +++ b/minikrebs/profiles/camkrebs_zc3xx/doc/README.md @@ -1,4 +1,4 @@ # Documentation -Firmware for krebs with Logitech QuickCam Messenger attached. +Firmware for krebs with Cheapo china webcam with zc3xx chipset attached. The profile is derived from krebs diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/heckenkrebs/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/README b/minikrebs/profiles/heckenkrebs/doc/README.md index 11d6f527..11d6f527 100644 --- a/minikrebs/README +++ b/minikrebs/profiles/heckenkrebs/doc/README.md diff --git a/minikrebs/profiles/init_overlay b/minikrebs/profiles/init_overlay new file mode 100644 index 00000000..3b714c39 --- /dev/null +++ b/minikrebs/profiles/init_overlay @@ -0,0 +1,10 @@ +#!/bin/sh +[ ! -e overlay/ ] && echo "profile data for external overlay does not exist, bailing out" + +[ ! -e doc/overlay ] && echo "Profile demands the following partitioning of the overlay usb stick:" && cat doc/overlay + +if grep -q $PWD/mnt/overlay /etc/mtab;then + +else + echo "please mount your overlay to $PWD/overlay" +fi diff --git a/minikrebs/profiles/instacam/custom_make b/minikrebs/profiles/instacam/custom_make new file mode 100755 index 00000000..cfe965b2 --- /dev/null +++ b/minikrebs/profiles/instacam/custom_make @@ -0,0 +1,3 @@ +#!/bin/sh + +make image PROFILE=TLWR703 PACKAGES="ip kmod-ipv6 kmod-fs-ext4 wireless-tools block-mount kmod-usb-core kmod-usb2 kmod-video-uvc mjpg-streamer -kmod-ppp -kmod-pppoe -kmod-pppox -ppp -ppp-mod-pppoe -dnsmasq -radvd " FILES=customfiles/ diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer index 298b06fe..298b06fe 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/mjpg-streamer +++ b/minikrebs/profiles/instacam/customfiles/etc/config/mjpg-streamer diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network b/minikrebs/profiles/instacam/customfiles/etc/config/network index c459c4e0..c459c4e0 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/config/network +++ b/minikrebs/profiles/instacam/customfiles/etc/config/network diff --git a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys index 9c87fc52..9c87fc52 120000 --- a/minikrebs/profiles/rickroller/customfiles/etc/dropbear/authorized_keys +++ b/minikrebs/profiles/instacam/customfiles/etc/dropbear/authorized_keys diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local b/minikrebs/profiles/instacam/customfiles/etc/rc.local index 3e91b57c..3e91b57c 100644 --- a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/rc.local +++ b/minikrebs/profiles/instacam/customfiles/etc/rc.local diff --git a/minikrebs/profiles/camkrebs_uvc/customfiles/etc/shadow b/minikrebs/profiles/instacam/customfiles/etc/shadow index 251abaf5..251abaf5 100644 -- |