From fe72ae3e6bfdd147ec39ba5c6595e3c89bbd8c4d Mon Sep 17 00:00:00 2001 From: parazyd Date: Mon, 19 Jun 2017 12:37:33 +0200 Subject: [PATCH] install e2fsprogs from backports because stable doesn't use linux 4.x --- extra/generic-root/etc/fstab | 8 ++++---- lib/helpers | 4 ++++ lib/overrides | 40 ++++++++++++++++++++++++++++++++++++ sdk | 2 +- 4 files changed, 49 insertions(+), 5 deletions(-) create mode 100644 lib/overrides diff --git a/extra/generic-root/etc/fstab b/extra/generic-root/etc/fstab index da4079f..428e1c8 100644 --- a/extra/generic-root/etc/fstab +++ b/extra/generic-root/etc/fstab @@ -1,9 +1,9 @@ -## +## ## 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 diff --git a/lib/helpers b/lib/helpers index 19e6734..1f540cf 100644 --- a/lib/helpers +++ b/lib/helpers @@ -97,6 +97,10 @@ postbuild-clean() { cat </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 diff --git a/lib/overrides b/lib/overrides new file mode 100644 index 0000000..39658e2 --- /dev/null +++ b/lib/overrides @@ -0,0 +1,40 @@ +#!/usr/bin/env zsh +# Copyright (c) 2016-2017 Dyne.org Foundation +# arm-sdk is written and maintained by Ivan J. +# +# 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 . + +## overrided functions for arm-sdk + +conf_print_sourceslist() { + fn conf_print_sourceslist + req=(mirror release section) + ckreq || return 1 + + cat <