mirror of https://github.com/parazyd/arm-sdk.git
install e2fsprogs from backports because stable doesn't use linux 4.x
This commit is contained in:
parent
930da48ad9
commit
fe72ae3e6b
|
|
@ -1,9 +1,9 @@
|
||||||
## <file system> <mount point> <type> <options> <dump><pass>
|
## <file system> <mount point> <type> <options> <dump><pass>
|
||||||
## proc
|
## proc
|
||||||
proc /proc proc nodev,noexec,nosuid 0 0
|
proc /proc proc nodev,noexec,nosuid 0 0
|
||||||
|
|
||||||
## rootfs
|
## rootfs
|
||||||
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 0
|
/dev/mmcblk0p2 / ext4 errors=remount-ro,noatime 0 1
|
||||||
|
|
||||||
## bootfs
|
## bootfs
|
||||||
/dev/mmcblk0p1 /boot vfat defaults 0 0
|
/dev/mmcblk0p1 /boot vfat defaults 0 0
|
||||||
|
|
|
||||||
|
|
@ -97,6 +97,10 @@ postbuild-clean() {
|
||||||
cat <<EOF | sudo tee ${strapdir}/postbuild >/dev/null
|
cat <<EOF | sudo tee ${strapdir}/postbuild >/dev/null
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
apt-get update
|
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 upgrade
|
||||||
apt-get --yes --force-yes autoremove
|
apt-get --yes --force-yes autoremove
|
||||||
#apt-get clean
|
#apt-get clean
|
||||||
|
|
|
||||||
|
|
@ -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
2
sdk
|
|
@ -40,7 +40,6 @@ maps+=(board_map os_map blend_map)
|
||||||
|
|
||||||
source $R/config
|
source $R/config
|
||||||
source $R/lib/helpers
|
source $R/lib/helpers
|
||||||
source $R/lib/overrides
|
|
||||||
|
|
||||||
## conclude zuper initialization
|
## conclude zuper initialization
|
||||||
source $R/lib/zuper/zuper.init
|
source $R/lib/zuper/zuper.init
|
||||||
|
|
@ -111,6 +110,7 @@ load() {
|
||||||
act "$os blend loaded"
|
act "$os blend loaded"
|
||||||
export BLEND=1
|
export BLEND=1
|
||||||
}
|
}
|
||||||
|
source $R/lib/overrides
|
||||||
|
|
||||||
workdir="$R/tmp/${os}-${arch}-build"
|
workdir="$R/tmp/${os}-${arch}-build"
|
||||||
strapdir="$workdir/bootstrap"
|
strapdir="$workdir/bootstrap"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue