summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2012-11-14 20:23:14 (EST)
committer P. J. McDermott <pjm@nac.net>2012-11-14 20:23:14 (EST)
commit0c5073b2fc7adf0c16b13f32c533f4e758335c38 (patch)
tree627b84c020d53f169092c0c7cf7b7330c8c15ec5
parent22320956b78f2ac725c21a8ce858f873d96d6929 (diff)
Remove archtab generation from testsetup.sh
-rwxr-xr-xtestsetup.sh22
1 files changed, 0 insertions, 22 deletions
diff --git a/testsetup.sh b/testsetup.sh
index fdd635e..f32df15 100755
--- a/testsetup.sh
+++ b/testsetup.sh
@@ -19,13 +19,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-prefix=''
-datadir=''
sysconfdir=''
long_opts_with_args='
-prefix
-datadir
sysconfdir
'
@@ -34,8 +30,6 @@ main()
parse_options "${@}"
shift ${optind}
- [ -z "${prefix}" ] && prefix='/usr/local'
- [ -z "${datadir}" ] && datadir="${prefix}/share"
[ -z "${sysconfdir}" ] && sysconfdir='/etc'
if [ ${#} -ne 2 ]; then
@@ -54,22 +48,6 @@ main()
echo "${build_plat}" >"${sysconfdir}/proteanos_plat" || \
error 'Cannot write proteanos_plat'
- printf 'Generating distribution architecture data...\n'
- mkdir -p "${datadir}/opkbuild/archtab" || \
- error 'Cannot make architecture table directory'
- printf 'x86_64-unknown-linux-gnu\nx86, i386\n' \
- >"${datadir}/opkbuild/archtab/core-linux-eglibc" || \
- error 'Cannot write architecture data'
- printf 'i686-unknown-linux-gnu\nx86, i386\n' \
- >"${datadir}/opkbuild/archtab/i686-linux-eglibc" || \
- error 'Cannot write architecture data'
- printf 'i686-unknown-freebsd9.0\nx86, i386\n' \
- >"${datadir}/opkbuild/archtab/i686-kfreebsd-eglibc" || \
- error 'Cannot write architecture data'
- printf 'arm-cortex_a8-linux-gnueabi\narm\n' \
- >"${datadir}/opkbuild/archtab/cortexa8-linux-eglibc" || \
- error 'Cannot write architecture data'
-
printf 'Done!\n'
}