Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Customizing image for deep sea C2

Featured Replies

Hi,

 

after a very successful deployment last year we will start a new sub sea C2 deployment next year (next to the old installation, in Northern Pacific, down at 2600m).

Things work out nicely, but now we reached a state where some help from experts is welcome.

 

I need to include some changes into the filesystem generated by Armbian build system, and hope someone can give me a hint on how to do it best way:

 

- include some packages into the image (list available)

- add some files to /etc/udev/rules.d/

- add some lines to /etc/rc.local

- have a preinstalled user plus home directory (optional)

 

Any help is appreciated, and sorry for my dumb questions :(

 

Michael

35 minutes ago, mboehmer said:

Any help is appreciated,

Hi Michael,

35 minutes ago, mboehmer said:

- include some packages into the image (list available)

Here some hints about what I'm doing in my own custom builds : There is a script in userpatches/customize-image.sh, I've added the following code into Main() function, for specific distro, in my case "stretch" :

                stretch)
                        eval 'LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 chroot $CACHEDIR/$SDCARD /bin/bash -c "DEBIAN_FRONTEND=noninteractive apt-get -y -q \
                                --no-install-recommends install joe ntpdate p7zip-full mtd-utils cifs-utils pigz dcfldd nmap zip python-serial python-setuptools python-httplib2 python-openssl strace libtool pkg-config autoconf-archive bison flex avrdude dfu-util pcscd python-pyscard"' \
                                ${PROGRESS_LOG_TO_FILE:+' | tee -a $DEST/debug/debootstrap.log'} \
                                ${OUTPUT_DIALOG:+' | dialog --backtitle "$backtitle" --progressbox "Installing Armbian system..." $TTY_Y $TTY_X'} \
                                ${OUTPUT_VERYSILENT:+' >/dev/null 2>/dev/null'}
                        # your code here

 

45 minutes ago, mboehmer said:

- add some files to /etc/udev/rules.d/

- add some lines to /etc/rc.local

- have a preinstalled user plus home directory (optional)

Although I've never done it, it could probably done in the same userpatches/customize-image.sh, doing to changes or copies assuming the path "$CACHEDIR/$SDCARD" ...

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.