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

From Alpine Linux
Jump to: navigation, search
Line 17: Line 17:
 
#* 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> mount /dev/sda /mnt
+
tty2::respawn:/sbin/getty 38400 tty2
#* omxplayer /mnt/test.mpeg
+
#tty3::respawn:/sbin/getty 38400 tty3 </nowiki>}} </br> $vi {{c| .profile}} {{cat |/root/.profile |<nowiki>mount /dev/sda1 /mnt
#* ...
+
omxplayer /mnt/video</nowiki>}}
  
 
= =
 
= =
 
* [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

Revision as of 11:02, 12 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 omxplayer /mnt/video