Create packagelist of installed packages:
dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > packages.list.save
Install Packages from saved packagelist:
xargs -a "packages.list.save" sudo apt-get install
Create packagelist of installed packages:
dpkg --get-selections | awk '!/deinstall|purge|hold/ {print $1}' > packages.list.save
Install Packages from saved packagelist:
xargs -a "packages.list.save" sudo apt-get install
Create file in /etc/tmpfiles.d/
disable-bluetooth-wakeup.conf
w /proc/acpi/wakeup - - - - XHC
Create PKGBUILD file:
pkgname=synology-cloud-station-drive _iver=4435 _rver=4.3.0 pkgver=$_rver.$_iver pkgrel=1 pkgdesc='An application which sync files between your computers and Synology NAS' arch=('i686' 'x86_64') url='https://www.synology.com/en-global/releaseNote/CloudStationDrive' license=('custom') optdepends=('nautilus: Nautilus integration') source_x86_64=("https://global.download.synology.com/download/Tools/CloudStationDrive/$_rver-$_iver/Ubuntu/Installer/x86_64/synology -cloud-station-drive-$_iver.x86_64.deb") source_i686=("https://global.download.synology.com/download/Tools/CloudStationDrive/$_rver-$_iver/Ubuntu/Installer/i686/synology-clo ud-station-drive-$_iver.i686.deb") sha512sums_i686=('5b7e205bf5b53da6957013b8c79e12b65c6ad6d14e4ce0dbdbce027113dc362a1db013f414d3fea06034d1ba54dc3798d5042e1e8af53103d2 8c612c2c3ac4c3') sha512sums_x86_64=('9704cb4902c335580ff285bd704ab08710fe1faaa0fcf51e5c04de0f8721a3cd7a5b661a8380ebc879a123440cf392f098fc7d0861086c92 15bf8efb2339f66a') prepare() { cd "$srcdir" tar -Jxf "$srcdir"/data.tar.xz } package() { cp -rp opt "$pkgdir"/opt install -Dm755 usr/lib/nautilus/extensions-3.0/libnautilus-cloud-extension.so "$pkgdir"/usr/lib/nautilus/extensions-3.0/libnauti lus-cloud-extension.so install -Dm755 usr/bin/synology-cloud-station-drive "$pkgdir"/usr/bin/synology-cloud-station-drive install -Dm644 usr/share/applications/synology-cloud-station-drive.desktop "$pkgdir"/usr/share/applications/synology-cloud-stati on-drive.desktop install -Dm644 "$srcdir"/opt/Synology/CloudStation/LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE }
Create Package:
makepkg
Install Package:
makepkg --install synology-cloud-station-drive-4.3.0.4435-1-x86_64.pkg.tar.xz
Download and extract latest Raspbian (Lite) Version: https://www.raspberrypi.org/downloads/raspbian/
Write .img file to micro-SD card:
sudo dd if=2018-11-13-raspbian-stretch-lite.img of=/dev/sdX bs=4M
Mount partitions and copy the following files to /boot folder:
1. Create an empty file called „ssh“ to enable sshd at first boot
2. Create a file called „wpa_supplicant.conf“ with the following code to enable your WLAN:
# File wpa_supplicant.conf atBoot-Partition (Raspbian Stretch)
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="yourSID"
psk="password"
key_mgmt=WPA-PSK
}
Edit /etc/default/grub
Add:
psmouse.elantech_smbus=0
to:
GRUB_CMDLINE_LINUX_DEFAULT