Changes for page Openwrt Notes

Last modified by Leon Poon on 2019/11/02 17:53

From version 31.1
edited by Leon Poon
on 2019/09/22 05:47
Change comment: There is no comment for this version
To version 35.1
edited by Leon Poon
on 2019/11/02 05:51
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -42,9 +42,16 @@
42 42  = Debian =
43 43  
44 44  {{code}}
45 -qemu-debootstrap --include=locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,openssh-server --exclude=nano,vim-tiny,systemd,systemd-sysv --arch mipsel stretch /mnt/cdrom
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?