diff options
| author | Serge Schneider <serge@raspberrypi.com> | 2021-09-01 11:10:57 +0100 |
|---|---|---|
| committer | Serge Schneider <serge@raspberrypi.com> | 2021-09-01 11:10:57 +0100 |
| commit | 600f7c1fa42b9ca9842618edaf59883a1d1709d0 (patch) | |
| tree | f213b041fd316ab432265b9cd4e7112be9db5921 | |
| parent | 4b59b5a70d349fd9459a42cdecc162007d3a2fcf (diff) | |
| parent | ff1e8b1aac4a6680ff36092121b20def300556f7 (diff) | |
Merge branch 'master' into arm64
| -rwxr-xr-x | imagetool.sh | 4 | ||||
| -rw-r--r-- | stage1/00-boot-files/files/cmdline.txt | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/imagetool.sh b/imagetool.sh index adc1ab7..e8467e1 100755 --- a/imagetool.sh +++ b/imagetool.sh @@ -103,10 +103,12 @@ if [ "${UMOUNT}" = "1" ] && [ -z "${MOUNTPOINT}" ]; then fi export NBD_DEV="${NBD_DEV:-/dev/nbd1}" +export MAP_BOOT_DEV=/dev/mapper/nbd1p1 +export MAP_ROOT_DEV=/dev/mapper/nbd1p2 source scripts/qcow2_handling if [ "${MOUNT}" = "1" ]; then - mount_qimage "${MOUNTPOINT}" "${IMAGE}" + mount_qimage "${IMAGE}" "${MOUNTPOINT}" elif [ "${UMOUNT}" = "1" ]; then umount_qimage "${MOUNTPOINT}" fi diff --git a/stage1/00-boot-files/files/cmdline.txt b/stage1/00-boot-files/files/cmdline.txt index b815bd8..03cde68 100644 --- a/stage1/00-boot-files/files/cmdline.txt +++ b/stage1/00-boot-files/files/cmdline.txt @@ -1 +1 @@ -console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait +console=serial0,115200 console=tty1 root=ROOTDEV rootfstype=ext4 fsck.repair=yes rootwait |
