- added kernel xu4
This commit is contained in:
parent
27534ed173
commit
154773db72
@ -264,14 +264,6 @@ function jumpchroot()
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# info "copying kernel-odroid rpm in $BUILD_PATH"
|
|
||||||
# echo "/bin/cp $SOURCE_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm $BUILD_PATH/"
|
|
||||||
# /usr/bin/cp "$SOURCE_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm" "$BUILD_PATH/"
|
|
||||||
# if [ $? -ne 0 ];then
|
|
||||||
# error "line $LINENO error copying $SOURCE_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm : exiting"
|
|
||||||
# exit 1
|
|
||||||
# fi
|
|
||||||
|
|
||||||
info "creation of user account"
|
info "creation of user account"
|
||||||
echo "/bin/passwd << EOF
|
echo "/bin/passwd << EOF
|
||||||
$ROOT_PWD
|
$ROOT_PWD
|
||||||
@ -288,6 +280,24 @@ EOF" >>"$BUILD_PATH/second_stage_install.sh"
|
|||||||
info "Copying skel in root directory"
|
info "Copying skel in root directory"
|
||||||
/bin/rsync -a /etc/skel/ "$BUILD_PATH/root/"
|
/bin/rsync -a /etc/skel/ "$BUILD_PATH/root/"
|
||||||
|
|
||||||
|
#configuration for target
|
||||||
|
|
||||||
|
case $TARGET in
|
||||||
|
xu3-4)
|
||||||
|
#TEMPORARY CODE
|
||||||
|
#copying kernel not existing in mageia
|
||||||
|
info "copying kernel-odroid rpm in $BUILD_PATH"
|
||||||
|
echo "/bin/cp $SOURCE_PATH/$CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm $BUILD_PATH/"
|
||||||
|
/usr/bin/cp "$SOURCE_PATH/$CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm" "$BUILD_PATH/"
|
||||||
|
if [ $? -ne 0 ];then
|
||||||
|
error "line $LINENO error copying $SOURCE_PATH/$CONFIG_PATH/kernel-odroid-4.14.y-1.armv7hl.rpm : exiting"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
rpi)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
title "chrooting to $BUILD_PATH"
|
title "chrooting to $BUILD_PATH"
|
||||||
/sbin/chroot --userspec root:root "$BUILD_PATH" /bin/bash -v -c 'sh /second_stage_install.sh'
|
/sbin/chroot --userspec root:root "$BUILD_PATH" /bin/bash -v -c 'sh /second_stage_install.sh'
|
||||||
RET=$?
|
RET=$?
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
## 2 14:9
|
## 2 14:9
|
||||||
## 3 16:9
|
## 3 16:9
|
||||||
##
|
##
|
||||||
#sdtv_aspect=3
|
sdtv_aspect=3
|
||||||
|
|
||||||
## sdtv_disable_colourburst
|
## sdtv_disable_colourburst
|
||||||
## Disables colour burst on composite output. The picture will be
|
## Disables colour burst on composite output. The picture will be
|
||||||
@ -519,7 +519,7 @@
|
|||||||
##
|
##
|
||||||
## Default 64
|
## Default 64
|
||||||
##
|
##
|
||||||
gpu_mem=256
|
gpu_mem=128
|
||||||
|
|
||||||
## gpu_mem_256
|
## gpu_mem_256
|
||||||
## GPU memory allocation in MB for 256MB board revision.
|
## GPU memory allocation in MB for 256MB board revision.
|
||||||
@ -755,7 +755,7 @@ gpu_mem=256
|
|||||||
##
|
##
|
||||||
## Default 700.
|
## Default 700.
|
||||||
##
|
##
|
||||||
#arm_freq=900
|
arm_freq=900
|
||||||
|
|
||||||
## arm_freq_min
|
## arm_freq_min
|
||||||
## Minimum frequency of ARM in MHz (used for dynamic clocking).
|
## Minimum frequency of ARM in MHz (used for dynamic clocking).
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# 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, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
|
|
||||||
/usr/sbin/urpmi --auto --no-verify-rpm x11-driver-video-fbdev
|
|
||||||
|
|
||||||
echo "#!/bin/sh
|
|
||||||
|
|
||||||
# patch for display manager service which do not start automatically
|
|
||||||
systemctl start display-manager.service &" >/etc/rc.d/rc.local
|
|
||||||
chmod a+x /etc/rc.d/rc;local
|
|
@ -1,23 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Copyright (C) 2017-2018 Daniel Tartavel-jeannot <contact@librepc.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
# 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, see <http://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
PATH="$(/bin/dirname $(readlink -f "$0"))"
|
|
||||||
echo "Path="$PATH
|
|
||||||
#. $PATH/install_video_driver.sh
|
|
||||||
#. $PATH/install_gstreamer.sh
|
|
||||||
#usr/sbin/urpmi --auto --no-verify-rpm task-xfce
|
|
BIN
xu4/kernel-odroid-4.14.y-1.armv7hl.rpm
Normal file
BIN
xu4/kernel-odroid-4.14.y-1.armv7hl.rpm
Normal file
Binary file not shown.
Reference in New Issue
Block a user