Sineware Community Chat (bridged with Matrix)
(#general from "Sineware")
[matrix] <Seshan (seshpenguin)> I use stuff that’s not in the busybox/whatever versions of the commands
[matrix] <Seshan (seshpenguin)> Ohh yea it probably won’t work on postmarketOS as the host
[matrix] <Justin> Looks like it's interpretting the -L as a block count, but I've never had to specify a block count for mkfs.ext4 ... 🤔
[matrix] <Justin> Sadly no go, I even ran as root just to be sure:
/home/user/prolinux-2 # TARGET_DEVICE=tablet-x64uefi npm run build; date > /home/user/end
> prolinux-2@1.0.0 build
> ts-node src/index.ts
Starting ProLinux build on 3/27/2023, 7:40:36 PM
Build dirs: /home/user/prolinux-2/build, /home/user/prolinux-2/build/rootfs, /home/user/prolinux-2/distro-files
Platform arch: arm64
Target device: tablet-x64uefi
Downloading Arch root from http://os.archlinuxarm.org/os/ArchLinuxARM-aarch64-latest.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 517M 100 517M 0 0 3521k 0 0:02:30 0:02:30 --:--:-- 4231k^[[1;6C
umount: /home/user/prolinux-2/build/rootfs/: not mounted
Creating and mounting rootfs.img
mke2fs 1.47.0 (5-Feb-2023)
mkfs.ext4: invalid blocks '-L' on device '/home/user/prolinux-2/build/rootfs.img'
Error: Command failed: sudo mkfs.ext4 /home/user/prolinux-2/build/rootfs.img -L pmOS_root
at checkExecSyncError (node:child_process:885:11)
at Object.execSync (node:child_process:957:15)
at exports.default (/home/user/prolinux-2/src/helpers/exec.ts:3:26)
at main (/home/user/prolinux-2/src/index.ts:52:9)
at Object.<anonymous> (/home/user/prolinux-2/src/index.ts:255:5)
at Module._compile (node:internal/modules/cjs/loader:1254:14)
at Module.m._compile (/home/user/prolinux-2/node_modules/ts-node/src/index.ts:1618:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
at Object.require.extensions.<computed> [as .ts] (/home/user/prolinux-2/node_modules/ts-node/src/index.ts:1621:12) {
status: 1,
signal: null,
output: [ null, null, null ],
pid: 3902,
stdout: null,
stderr: null
}
[matrix] <Justin> Trying my first bulid Seshan (seshpenguin) (@seshpenguin:sineware.ca)