rpi-imager: Fehler beim Erstellen von firstrun.sh auf der fat-partition

https://ninigiku.wordpress.com/…e-on-ubuntu/

The flashing of the SD card went ok, but applying the customizations fails with the error: Error creating firstrun.sh on FAT partition (Strangely it can write to the raw device, but it cannot read/write to the mounted filesystem).

The solution The solution luckily is really simple, but it is missed on a lot of forums. Snap installs can be configured using Ubuntu Software. The configuration allows a user to specify what kind of actions are allowed for the snap install. For the Raspberry Pi Imager we need to enable ‘Read/write files on removable storage devices’ as is shown in the image below:

Meine Lösung

Da ich kein Freund von snap bin:

$ sudo snap remove rpi-imager
$ sudo apt install rpi-imager

Ubuntu Kotlin

$ sudo apt install kotlin

hello.kt

fun main() {
    println("Hello World!")
}
$ java -jar hello.jar
$ kotlinc hello.kt -include-runtime -d hello.jar
$ sudo add-apt-repository ppa:maarten-fonville/android-studio
$ sudo apt install android-studio

Drupal 10 auf ionos

Damit Drupal 10 auf ionos läuft:

In der .htacess Zeile 114

RewriteBase /
$ chmod 777 sites/default/settings.php
$ nano sites/default/settings.php

Nur Zugriffe vom eigener Seite erlauben.

$settings['trusted_host_patterns'] = [
  '^www\.wlsoft\.de$',
];
$ chmod 404 sites/default/settings.php

Beim Update von Drupal 10 mittels compose wird die .htaccess überschrieben. Seit drei Jahren wird bei den Entwicklern darüber diskutiert, wie das zu handeln wäre.

Ich benutze zum Update von Drupal10-core bis auf weiteres diesen Script

#!/bin/bash
# ins drupal verzeichnis wechseln
cd ~/d10
# drupal mittels composer aktualisieren
/usr/bin/php8.2-cli composer.phar update "drupal/core-*" --with-all-dependencies
# die htaccess datei korrigieren \ ist Escape-zeichen für /
# ersetzen von "  # RewriteBase /drupal" mit  "RewriteBase /
sed -i 's/  # RewriteBase \/drupal/RewriteBase \//g' ./web/.htaccess
echo '================================================================'
Tags: 

Das war der CLT 2023

Seiten