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
-
... ... @@ -41,6 +41,15 @@ 41 41 42 42 = Debian = 43 43 44 +{{code}} 45 +debootstrap --variant=minbase --include locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,openssh-server,screen,wget,ntp,bridge-utils,ifupdown --exclude=nano,vim-tiny --foreign stretch $PWD 46 +chroot $PWD debootstrap/debootstrap --second-stage 47 +{{/code}} 48 + 49 +{{code}} 50 +qemu-debootstrap --include=locales,sudo,sysvinit-core,sysvinit-utils,vim-nox,openssh-server,screen,wget,ntp,bridge-utils,ifupdown --exclude=nano,vim-tiny,systemd,systemd-sysv --arch mipsel stretch /mnt/cdrom 51 +{{/code}} 52 + 44 44 Things to do after debootstrap: 45 45 46 46 * [[get rid of systemd>>http://without-systemd.org/wiki/index.php/How_to_remove_systemd_from_a_Debian_Stretch_installation]] ... ... @@ -103,8 +103,7 @@ 103 103 104 104 = UBI = 105 105 106 -{{code language="text"}} 107 -define Build/append-ubi 115 +{{code language="text"}}define Build/append-ubi 108 108 sh $(TOPDIR)/scripts/ubinize-image.sh \ 109 109 $(if $(UBOOTENV_IN_UBI),--uboot-env) \ 110 110 $(if $(KERNEL_IN_UBI),--kernel $(IMAGE_KERNEL)) \ ... ... @@ -117,6 +117,5 @@ 117 117 $(UBINIZE_OPTS) 118 118 cat $@.tmp >> $@ 119 119 rm $@.tmp 120 -endef 121 - 122 -{{/code}} 128 +endef{{/code}} 129 +~{~{/code}}