This shows you the differences between two versions of the page.

Link to this comparison view

user:hum_pre_12-2019 [2019/12/02 18:11] (current)
hum created with the whole content from the userpage
Line 1: Line 1:
 +===== Writing a devuan image for Raspberry Pi to sd-card =====
 +From the [[https://​ftp.fau.de/​devuan-cd/​devuan_ascii/​embedded/​README.txt|README.txt]]
 +    # dd the raw image to a medium of your choice (little less than 2GB)
 +    xzcat devuan_ascii_2.0.0_armhf_sunxi.img.xz | sudo dd of=/​dev/​mmcblk0 bs=2M  ​
 +I prefer using pv to see the progress:
 +    $ xz -tv devuan_ascii_2.0.0_armel_raspi1.img.xz # Get the size of the image
 +    devuan_ascii_2.0.0_armel_raspi1.img.xz (1/1)
 +    100 %     145,4 MiB / 1.891,0 MiB = 0,077    79 MiB/s       0:23
 +    ​
 +    $ xzcat devuan_ascii_2.0.0_armel_raspi1.img.xz | pv -s 1891M > /dev/sdX # replace X with the sdcard
 +    1,85GiB 0:03:21 [9,37MiB/s] [==========================================================>​] 100%  ​
 +=====  Are the deb-src lines in my sources.list necessary? =====
 +You need them if you want to query/​fetch/​build source packages. Some other unexpected things need to do that (like the nvidia drivers). I guess they might not need it but they do need kernel headers at least. But that's right for the most part you don't need them, but it's best to have them in case you forget. ​
 +(based on comments by gnarface and pardis from #devuan on freenode.org)
 +===== npm =====
 +For installing npm add the backports to your sources.list e.g.:
 +  deb http://​pkgmaster.devuan.org/​merged/​ ascii-backports main non-free contrib
 +  deb-src http://​pkgmaster.devuan.org/​merged/​ ascii-backports main non-free contrib
 +===== writing pandoc'​s markdown and converting to dokuwiki markup =====
 +Using different kind of markup languages is not the way I like. [[https://​pandoc.org/​|pandoc]] converts from several markup languages to several markup languages. dokuwiki is supported as target only, not as source. To convert from pandoc'​s markdown to dokuwiki I use:
 + ​pandoc -t dokuwiki -o mypage.dokuwiki mypage.md
 +==== https sources in sources.list ====
 +After reading [[https://​www.heise.de/​security/​meldung/​Kritische-Sicherheitsluecke-in-Debians-Update-Tools-4285012.html|Kritische Sicherheitsl├╝cke in Debians Update-Tools]] I checked /​etc/​apt/​sources.list and found my configuration with http:%%//%% "​http://​de.deb.devuan.org"​. Since https://​de.deb.devuan.org/​ throws a warning in the browser that the certificate is only valid for pkgmaster.devuan.org I changed my sources to https://​pkgmaster.devuan.org