Compare commits

..

8 Commits

Author SHA1 Message Date
Ricardo Martins
90fe5f8cad kmod: fixed symlink. 2016-08-01 12:40:03 +01:00
Ricardo Martins
0217738383 linux: backported depmod fix. 2016-08-01 12:28:38 +01:00
Ricardo Martins
cba834239c ntp: updated URL. 2016-08-01 11:45:51 +01:00
Ricardo Martins
46fdf289d9 docker: added container for reproducible builds. 2016-08-01 11:20:25 +01:00
Ricardo Martins
715b888143 dosfstools: upgraded to v3.0.28. 2016-08-01 11:20:10 +01:00
Pedro Gonçalves
f93e5ff07e rsync: updated source URL. 2016-05-18 18:17:03 +01:00
Pedro Gonçalves
18488ce9d0 unzip: updated source URL. 2016-05-18 18:15:57 +01:00
Pedro Gonçalves
f447dc266e mpfr: upgraded to 3.1.4. 2016-05-18 18:14:50 +01:00
9 changed files with 87 additions and 12 deletions

37
docker/Dockerfile Normal file
View File

@@ -0,0 +1,37 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
FROM debian:8
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
ENV DEBIAN_FRONTEND noninteractive
# Update distro.
RUN apt-get update -y
RUN apt-get dist-upgrade -y
RUN apt-get install -y wget
RUN apt-get install -y bzip2
RUN apt-get install -y git
RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake
RUN apt-get install -y file

31
docker/Makefile Normal file
View File

@@ -0,0 +1,31 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
TAG := glued
VERSION := 2016.05.0
VOLUME := $(CURDIR)/..
all:
docker build -t $(TAG):$(VERSION) .
shell:
docker run -w $(VOLUME) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)

View File

@@ -1,16 +1,16 @@
version=\ version=\
( (
'3.0.20' '3.0.28'
) )
url=\ url=\
( (
"http://daniel-baumann.ch/files/software/dosfstools/dosfstools-$version.tar.gz" "https://github.com/dosfstools/dosfstools/releases/download/v$version/dosfstools-$version.tar.gz"
) )
md5=\ md5=\
( (
'7f1c1afd4ae4622e07b24ec0ddfc4184' '64e3b3a59b51d2a97d7ac38b23a124bb'
) )
maintainer=\ maintainer=\

View File

@@ -32,5 +32,5 @@ build()
host_install() host_install()
{ {
$cmd_make install && $cmd_make install &&
ln -fs kmod "$cfg_dir_toolchain/sbin/depmod" ln -fs ../bin/kmod "$cfg_dir_toolchain/sbin/depmod"
} }

View File

@@ -36,17 +36,20 @@ build()
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux && ARCH=$cfg_target_linux || return 1
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
modules && DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules || return 1
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
$cmd_make \ $cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \ CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \ ARCH=$cfg_target_linux \
uImage DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
uImage || return 1
fi fi
if [ -n "${cfg_target_linux_size}" ]; then if [ -n "${cfg_target_linux_size}" ]; then
@@ -82,11 +85,15 @@ target_install()
CROSS_COMPILE="$cfg_target_canonical-" \ CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \ ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
modules_install modules_install
$cmd_make \ $cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \ CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \ ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \ INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
firmware_install firmware_install
} }

View File

@@ -1,6 +1,6 @@
version=\ version=\
( (
'3.1.3' '3.1.4'
) )
url=\ url=\
@@ -10,7 +10,7 @@ url=\
md5=\ md5=\
( (
"5fdfa3cfa5c86514ee4a241a1affa138" "b8a2f6b0e68bef46e53da2ac439e1cf4"
) )
maintainer=\ maintainer=\

View File

@@ -5,7 +5,7 @@ version=\
url=\ url=\
( (
"ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/distfiles/ntp-$version.tar.gz" "https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-$version.tar.gz"
) )
md5=\ md5=\

View File

@@ -5,7 +5,7 @@ version=\
url=\ url=\
( (
"http://www.samba.org/ftp/rsync/rsync-$version.tar.gz" "https://download.samba.org/pub/rsync/src/rsync-$version.tar.gz"
) )
md5=\ md5=\

View File

@@ -5,7 +5,7 @@ version=\
url=\ url=\
( (
"ftp://ftp.info-zip.org/pub/infozip/src/unzip60.tgz" "http://downloads.sourceforge.net/infozip/unzip60.tar.gz"
) )
md5=\ md5=\