Hi,
I am facing below error while building l-loader.bin
snip ...
+ dd if=/dev/zero of=/tmp/aosp-4g.OMLxpz bs=512 count=7471104
7471104+0 records in
7471104+0 records out
3825205248 bytes (3.8 GB) copied, 44.3384 s, 86.3 MB/s
+ sgdisk -U 2CB85345-6A91-4043-8203-723f0D28fBE8 -v /tmp/aosp-4g.OMLxpz
Creating new GPT entries.
No problems found. 7471037 free sectors (3.6 GiB) available in 1
segments, the largest of which is 7471037 (3.6 GiB) in size.
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
The operation has completed successfully.
+ sgdisk -n 1:0:+1M -t 1:0700 -u 1:496847AB-56A1-4CD5-A1AD-47f4ACf055C9 -c 1:vrl /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 2:0:+1M -t 2:0700 -u 2:61A36fC1-8EfB-4899-84D8-B61642EfA723 -c 2:vrl_backup /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 3:0:+1M -t 3:0700 -u 3:65007411-962D-4781-9B2C-51DD7Df22CC3 -c 3:mcuimage /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 4:0:+8M -t 4:Ef02 -u 4:496847AB-56A1-4CD5-A1AD-47f4ACf055C9 -c 4:fastboot /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 5:0:+2M -t 5:0700 -u 5:00354BCD-BBCB-4CB3-B5AE-CDEfCB5DAC43 -c 5:nvme /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 6:0:+64M -t 6:Ef00 -u 6:5C0f213C-17E1-4149-88C8-8B50fB4EC70E -c 6:boot /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 7:0:+256M -t 7:0700 -u 7:BED8EBDC-298E-4A7A-B1f1-2500D98453B7 -c 7:reserved /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 8:0:+256M -t 8:8301 -u 8:A092C620-D178-4CA7-B540-C4E26BD6D2E2 -c 8:cache /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n 9:0:+1536M -t 9:8300 -u 9:fC56E345-2E8E-49AE-B2f8-5B9D263fE377 -c 9:system /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ sgdisk -n -E -t 10:8300 -u 10:064111f6-463B-4CE1-876B-13f3684CE164 -c 10:userdata -p /tmp/aosp-4g.OMLxpz
Problem opening /tmp/aosp-4g.OMLxpz for reading! Error is 1.
+ dd if=/tmp/aosp-4g.OMLxpz of=prm_ptable.img bs=512 count=34
dd: failed to open ‘/tmp/aosp-4g.OMLxpz’: Operation not permitted
+ dd if=/tmp/aosp-4g.OMLxpz of=sec_ptable.img skip=7471071 bs=512 count=33
dd: failed to open ‘/tmp/aosp-4g.OMLxpz’: Operation not permitted
+ rm -f /tmp/aosp-4g.OMLxpz
+-----------------------------------------------------------+
Input Images:
primary partition table: prm_ptable.img
secondary partition table: secondary partition table
Ouput Image: ptable-aosp-4g.img
+-----------------------------------------------------------+
*** file open error: [Errno 2] No such file or directory: 'prm_ptable.img'
I have checked the permissions of /tmp and it is fine. Previously I was able to build without any issues.