Changes for page Openwrt Notes
Last modified by Leon Poon on 2019/11/02 17:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -42,9 +42,16 @@ 42 42 = Debian = 43 43 44 44 {{code}} 45 -qemu-debootstrap --arch mipsel stretch /mnt/cdrom --include=locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,openssh-server --exclude=nano,vim-tiny,systemd,systemd-sysv 45 +debootstrap --variant=minbase --include locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,screen,wget,ntp,bridge-utils,ifupdown --exclude=nano,vim-tiny --foreign stretch $PWD 46 +chroot $PWD debootstrap/debootstrap --second-stage 46 46 {{/code}} 47 47 49 +{{code}} 50 +qemu-debootstrap --include=locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,screen,wget,ntp,bridge-utils,ifupdown --exclude=nano,vim-tiny,systemd,systemd-sysv --arch mipsel stretch /mnt/cdrom 51 +{{/code}} 52 + 53 +Do not install openssh-server during bootstrap otherwise it will bring in systemd! 54 + 48 48 Things to do after debootstrap: 49 49 50 50 * [[get rid of systemd>>http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_Stretch_installation]] ... ... @@ -51,6 +51,7 @@ 51 51 * set hostname 52 52 * set root password 53 53 * /etc/network/interfaces (TODO: swconfig while still in openwrt initramfs space?) 61 +* apt-get install openssh-server without systemd 54 54 * apt-get install net-tools file ntp openssh-server gcc 55 55 ** net-tools for ifconfig 56 56 ** gcc for? ... ... @@ -120,6 +120,5 @@ 120 120 $(UBINIZE_OPTS) 121 121 cat $@.tmp >> $@ 122 122 rm $@.tmp 123 -endef 124 -{{/code}} 131 +endef{{/code}} 125 125 ~{~{/code}}