Koreader: open /mnt at startup instead of /mnt/onboard
This commit is contained in:
parent
d14cd449a5
commit
3e437f26ff
2
build.sh
2
build.sh
@ -130,7 +130,7 @@ compile_koreader() {
|
|||||||
echo "#!/bin/bash" > koreader/okreader.sh
|
echo "#!/bin/bash" > koreader/okreader.sh
|
||||||
echo "cd /opt/koreader" >> koreader/okreader.sh
|
echo "cd /opt/koreader" >> koreader/okreader.sh
|
||||||
echo "while true; do" >> koreader/okreader.sh
|
echo "while true; do" >> koreader/okreader.sh
|
||||||
echo " ./luajit ./reader.lua /mnt/onboard" >> koreader/okreader.sh
|
echo " ./luajit ./reader.lua /mnt" >> koreader/okreader.sh
|
||||||
echo "done" >> koreader/okreader.sh
|
echo "done" >> koreader/okreader.sh
|
||||||
chmod +x koreader/okreader.sh
|
chmod +x koreader/okreader.sh
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ config_rootfs() {
|
|||||||
install_packages() {
|
install_packages() {
|
||||||
cp src/linux-okreader-modules_2.6.35.3-1_armhf.deb rootfs/
|
cp src/linux-okreader-modules_2.6.35.3-1_armhf.deb rootfs/
|
||||||
cp src/firmware-okreader_1.0-1_armhf.deb rootfs/
|
cp src/firmware-okreader_1.0-1_armhf.deb rootfs/
|
||||||
cp src/koreader_2016.04-2_armhf.deb rootfs/
|
cp src/koreader_2016.04-3_armhf.deb rootfs/
|
||||||
cp src/kobo_hwconfig/kobo-hwconfig_1.0-1_armhf.deb rootfs/
|
cp src/kobo_hwconfig/kobo-hwconfig_1.0-1_armhf.deb rootfs/
|
||||||
|
|
||||||
chroot rootfs/ bash -c "dpkg -i /*.deb"
|
chroot rootfs/ bash -c "dpkg -i /*.deb"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Package: koreader
|
Package: koreader
|
||||||
Version: 2016.04-2
|
Version: 2016.04-3
|
||||||
Maintainer: Cosmin Gorgovan <okreader@linux-geek.org>
|
Maintainer: Cosmin Gorgovan <okreader@linux-geek.org>
|
||||||
Architecture: armhf
|
Architecture: armhf
|
||||||
Description: An ebook viewer application.
|
Description: An ebook viewer application.
|
||||||
|
Loading…
Reference in New Issue
Block a user