install e2fsprogs from backports because stable doesn't use linux 4.x

This commit is contained in:
parazyd 2017-06-19 12:37:33 +02:00
parent 930da48ad9
commit fe72ae3e6b
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
4 changed files with 49 additions and 5 deletions

View File

@ -1,9 +1,9 @@
## <file system> <mount point> <type> <options> <dump><pass>
## <file system> <mount point> <type> <options> <dump><pass>
## proc
proc /proc proc nodev,noexec,nosuid 0 0
proc /proc proc nodev,noexec,nosuid 0 0
## rootfs
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 0
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 1
## bootfs
/dev/mmcblk0p1 /boot vfat defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 0

View File

@ -97,6 +97,10 @@ postbuild-clean() {
cat <<EOF | sudo tee ${strapdir}/postbuild >/dev/null
#!/bin/sh
apt-get update
# backports e2fsprogs because 4.x kernels
apt-get --yes --force-yes -t jessie-backports install e2fsprogs
apt-get --yes --force-yes upgrade
apt-get --yes --force-yes autoremove
#apt-get clean

40
lib/overrides Normal file
View File

@ -0,0 +1,40 @@
#!/usr/bin/env zsh
# Copyright (c) 2016-2017 Dyne.org Foundation
# arm-sdk is written and maintained by Ivan J. <parazyd@dyne.org>
#
# This file is part of arm-sdk
#
# This source code 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 3 of the License, or
# (at your option) any later version.
#
# This software 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 source code. If not, see <http://www.gnu.org/licenses/>.
## overrided functions for arm-sdk
conf_print_sourceslist() {
fn conf_print_sourceslist
req=(mirror release section)
ckreq || return 1
cat <<EOF
## package repositories
deb ${mirror} ${release} ${section}
deb ${mirror} ${release}-updates ${section}
deb ${mirror} ${release}-security ${section}
deb ${mirror} ${release}-backports ${section}
## source repositories
#deb-src ${mirror} ${release} ${section}
#deb-src ${mirror} ${release}-updates ${section}
#deb-src ${mirror} ${release}-security ${section}
#deb-src ${mirror} ${release}-backports ${section}
EOF
}

2
sdk
View File

@ -40,7 +40,6 @@ maps+=(board_map os_map blend_map)
source $R/config
source $R/lib/helpers
source $R/lib/overrides
## conclude zuper initialization
source $R/lib/zuper/zuper.init
@ -111,6 +110,7 @@ load() {
act "$os blend loaded"
export BLEND=1
}
source $R/lib/overrides
workdir="$R/tmp/${os}-${arch}-build"
strapdir="$workdir/bootstrap"