Difference between revisions of "User:Innsill/omxplayer-starter (amdhf)"

From Alpine Linux
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
 
#* alpine-rpi-3.10.3-armhf.tar.gz
 
#* alpine-rpi-3.10.3-armhf.tar.gz
 
#* alpine-rpi-3.10.3-armhf.tar.gz.sha256
 
#* alpine-rpi-3.10.3-armhf.tar.gz.sha256
#** sha256sum --check alpine-rpi-3.10.3-armhf.tar.gz.sha256
+
#** sha256sum --check {{c |alpine-rpi-3.10.3-armhf.tar.gz.sha256}}
 
#
 
#
 
# </br> find / -name setup* -print | sort
 
# </br> find / -name setup* -print | sort
Line 14: Line 14:
 
#
 
#
 
# </br> [https://pkgs.alpinelinux.org/contents?file=omxplayer&path=&name=&branch=v3.10&arch=armhf omxplayer ?]
 
# </br> [https://pkgs.alpinelinux.org/contents?file=omxplayer&path=&name=&branch=v3.10&arch=armhf omxplayer ?]
#* vi /etc/apk/repositories
+
#* vi {{c |/etc/apk/repositories}}
 
#* apk update && apk upgrade
 
#* apk update && apk upgrade
 
#* apk add omxplayer
 
#* apk add omxplayer
 
# </br> vi {{c| /etc/inittab}} {{cat |/etc/inittab |<nowiki>tty1::respawn:/bin/login -f root
 
# </br> vi {{c| /etc/inittab}} {{cat |/etc/inittab |<nowiki>tty1::respawn:/bin/login -f root
 
tty2::respawn:/sbin/getty 38400 tty2
 
tty2::respawn:/sbin/getty 38400 tty2
#tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> $vi {{c| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt
+
#tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> vi {{c| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt
omxplayer /mnt/video</nowiki>}}
+
mount /dev/sda /mnt
 
+
cd /mnt
 +
VIDEO=$( ls | sort )
 +
for i in $VIDEO
 +
        do
 +
        omxplayer $i
 +
        done</nowiki>}} </br> lbu include /root/.profile </br> lbu commit
 
= =
 
= =
 
* [https://elinux.org/Omxplayer Omxplayer] eLinux.org
 
* [https://elinux.org/Omxplayer Omxplayer] eLinux.org
 
* [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org
 
* [https://www.raspberrypi.org/documentation/raspbian/applications/omxplayer.md OMXPlayer: An accelerated command line media player] raspberrypi.org

Latest revision as of 16:21, 17 November 2019

Tango-dialog-warning.png
Warning:

Be careful !

Spy backdoors China/Huawei !

Spy backdoors USA/Microsoft: Archive, Source, ThreadX



  1. https://alpinelinux.org/downloads/
    • alpine-rpi-3.10.3-armhf.tar.gz
    • alpine-rpi-3.10.3-armhf.tar.gz.sha256
      • sha256sum --check alpine-rpi-3.10.3-armhf.tar.gz.sha256

  2. find / -name setup* -print | sort
    • setup-alpine

  3. omxplayer ?
    • vi /etc/apk/repositories
    • apk update && apk upgrade
    • apk add omxplayer

  4. vi /etc/inittab

    Contents of /etc/inittab

    tty1::respawn:/bin/login -f root tty2::respawn:/sbin/getty 38400 tty2 #tty3::respawn:/sbin/getty 38400 tty3

    vi .profile

    Contents of /root/.profile

    mount /dev/sda1 /mnt mount /dev/sda /mnt cd /mnt VIDEO=$( ls | sort ) for i in $VIDEO do omxplayer $i done

    lbu include /root/.profile
    lbu commit