This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
[[ -e bakefile.xml ]] && rm bakefile.xml | |
[[ -e ./build ]] && rm -Rf ./build | |
bake.py configure -e dce-linux-1.9 -e netanim-3.107 -e nsc-0.5.3 -e pyviz-prerequisites \ | |
-e click-ns-3.25 -e openflow-ns-3.25 -e gccxml-ns3 -e gawk -e wget \ | |
-e iproute-2.6.38 -e iperf -e pybindgen-0.17.0.post57+nga6376f2 \ | |
-e BRITE -e libaspect -e openflow-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function usage() { | |
cat << EOF | |
- rpi-backup-system | |
- | |
- This shell script backups a complete system to a tarball from device passed as first parameter | |
- | |
- Parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ROOT_USB=0 | |
function usage() { | |
cat << EOF | |
- rpi-install-system | |
- | |
- This shell script installs a complete system from a tarball on device passed as first parameter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/bakeconf.xml 2018-01-21 12:46:46.001299921 +0100 | |
+++ b/bakeconf.xml 2018-01-21 13:08:03.477772719 +0100 | |
@@ -168,8 +168,8 @@ | |
<module name="ccnx"> | |
<source type="archive"> | |
- <attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/> | |
- <attribute name="extract_directory" value="ccnx-0.6.2"/> | |
+ <attribute name="url" value="https://github.com/ProjectCCNx/ccnx/archive/ccnx-0.8.2.tar.gz"/> | |
+ <attribute name="extract_directory" value="ccnx-ccnx-0.8.2"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/extract-system-config.py 2018-01-21 12:48:11.678331236 +0100 | |
+++ b/extract-system-config.py 2018-01-16 17:44:18.338270636 +0100 | |
@@ -71,9 +71,9 @@ | |
def find_by_name (self, type, name): | |
item = self.read_one () | |
while item is not None: | |
- if item.type == type and \ | |
+ if item.type.strip() == type and \ | |
item.attributes.has_key ('DW_AT_name') and \ | |
- item.attributes['DW_AT_name'] == name: |