openwrt/target/linux
Daniel Golle 7fd3c68137 initramfs: switch to tmpfs to fix ujail
Hauke wrote:
> We want to run some processes in the procd-ujail, this works when we
> use a SquashFS image and an overlay file system, but when we use an
> initramfs it does not work.
> [...]
> When we switch from initramfs to tmpfs, it is working, we added this
> code to target/linux/generic/other-files/init to make [it] work.

Move files to newly mounted tmpfs and then use switch_root to chroot
into new rootfs and free initramfs.

Suggested-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-27 01:23:43 +00:00
..
apm821xx apm821xx: clean up target/subtarget features 2020-11-25 13:23:06 +01:00
arc770 arc770: drop support for kernel 4.14 2020-09-02 16:29:22 +02:00
archs38 treewide: use wpad-basic-wolfssl as default 2020-08-20 14:19:39 +02:00
armvirt kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
at91 at91: explicitly set CONFIG_USB_SUPPORT for sam9x subtarget 2020-08-27 16:36:18 +02:00
ath25 ath25: fix preinit Ethernet port configuration 2020-09-10 18:52:15 +02:00
ath79 kernel: clean up patch fuzz 2020-11-26 17:32:43 +00:00
bcm27xx kernel: clean up patch fuzz 2020-11-26 17:32:43 +00:00
bcm47xx kernel: bump 5.4 to 5.4.80 2020-11-26 11:17:55 +01:00
bcm53xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
bcm63xx bcm63xx: reorganize board patches into fewer files 2020-10-26 23:48:08 +01:00
gemini kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
generic initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
imx6 kernel: bump 5.4 to 5.4.77 2020-11-18 21:13:46 +01:00
ipq40xx ipq40xx: DTS style updates for OpenMesh devices 2020-11-23 13:44:47 +01:00
ipq806x kernel: bump 5.4 to 5.4.79 2020-11-24 15:36:59 +01:00
ipq807x kernel: unify CONFIG_GPIO_SYSFS in kernel configs 2020-08-06 12:37:04 +02:00
kirkwood target: update SPDX license names 2020-09-22 20:58:26 +02:00
lantiq lantiq: clean up target/subtarget features 2020-11-25 13:23:06 +01:00
layerscape kernel: bump 5.4 to 5.4.80 2020-11-26 11:17:55 +01:00
malta kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
mediatek kernel: bump 5.4 to 5.4.80 2020-11-26 11:17:55 +01:00
mpc85xx kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
mvebu mvebu: sysupgrade: use get_image_dd wrapper 2020-11-25 18:18:54 +01:00
mxs treewide: make dependency on kmod-usb-net selective 2020-08-10 12:54:30 +02:00
octeon kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
octeontx kernel: move F2FS_FS_XATTR and F2FS_STAT_FS symbols to generic 2020-10-09 23:20:19 +01:00
omap kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
oxnas kernel: bump 5.4 to 5.4.75 2020-11-10 13:11:32 +01:00
pistachio kernel: bump 5.4 to 5.4.77 2020-11-18 21:13:46 +01:00
ramips ramips: mt7621: replace missing custom-initramfs-uimage 2020-11-26 09:12:57 +01:00
realtek kernel: clean up patch fuzz 2020-11-26 17:32:43 +00:00
rockchip rockchip: remove unused config symbols 2020-11-04 23:58:27 +01:00
sunxi sunxi: add support for Libre Computer ALL-H3-CC H5 2020-11-12 18:21:17 +01:00
tegra tegra: sysupgrade: use get_image_dd wrapper 2020-11-25 18:42:59 +01:00
uml kernel: bump 5.4 to 5.4.71 2020-10-15 17:46:54 +02:00
x86 x86: generic: disable CONFIG_EFI_VARS 2020-11-12 18:21:55 +01:00
zynq kernel: remove support for kernel 4.19 2020-10-30 19:29:59 +01:00
Makefile build: add 'make kernel_xconfig' command 2020-07-08 16:07:05 +02:00