mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-30 21:44:27 -04:00 
			
		
		
		
	x86: drop the use of block2mtd, use ext4/f2fs as overlay filesystem
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
		
							parent
							
								
									c6eb09d5a3
								
							
						
					
					
						commit
						be59b1718d
					
				| @ -54,16 +54,8 @@ ifneq ($(CONFIG_GRUB_IMAGES),) | |||||||
|     root=$(ROOTPART) rootfstype=ext4 rootwait |     root=$(ROOTPART) rootfstype=ext4 rootwait | ||||||
|   endef |   endef | ||||||
| 
 | 
 | ||||||
|   define Image/cmdline/jffs2-64k |  | ||||||
|     block2mtd.block2mtd=$(ROOTPART),65536,rootfs,5 root=/dev/mtdblock0 rootfstype=jffs2 rootwait |  | ||||||
|   endef |  | ||||||
| 
 |  | ||||||
|   define Image/cmdline/jffs2-128k |  | ||||||
|     block2mtd.block2mtd=$(ROOTPART),131072,rootfs,5 root=/dev/mtdblock0 rootfstype=jffs2 rootwait |  | ||||||
|   endef |  | ||||||
| 
 |  | ||||||
|   define Image/cmdline/squashfs |   define Image/cmdline/squashfs | ||||||
|     block2mtd.block2mtd=$(ROOTPART),65536,rootfs,5 root=/dev/mtdblock0 rootfstype=squashfs rootwait |     root=$(ROOTPART) rootfstype=squashfs rootwait | ||||||
|   endef |   endef | ||||||
| 
 | 
 | ||||||
|   define Image/Build/grub2 |   define Image/Build/grub2 | ||||||
| @ -101,7 +93,7 @@ endif | |||||||
| ROOTDELAY=10 | ROOTDELAY=10 | ||||||
| 
 | 
 | ||||||
| define Image/Build/squashfs | define Image/Build/squashfs | ||||||
| 	$(call prepare_generic_squashfs,$(KDIR)/root.squashfs) | 	dd if=/dev/zero bs=128k count=1 >> $(KDIR)/root.squashfs | ||||||
| endef | endef | ||||||
| 
 | 
 | ||||||
| define Image/Build/iso | define Image/Build/iso | ||||||
| @ -161,12 +153,6 @@ ifneq ($(CONFIG_TARGET_IMAGES_GZIP),) | |||||||
|     define Image/Build/gzip/squashfs |     define Image/Build/gzip/squashfs | ||||||
| 	$(call Image/Build/gzip,squashfs) | 	$(call Image/Build/gzip,squashfs) | ||||||
|     endef |     endef | ||||||
|     define Image/Build/gzip/jffs2-64k |  | ||||||
| 	$(call Image/Build/gzip,jffs2-64k) |  | ||||||
|     endef |  | ||||||
|     define Image/Build/gzip/jffs2-128k |  | ||||||
| 	$(call Image/Build/gzip,jffs2-128k) |  | ||||||
|     endef |  | ||||||
|   endif |   endif | ||||||
| endif | endif | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user