HomeFreeBSD

- Once we have shifted arguments up to thrice, base-bits-dir is $1 rather

Description

  • Once we have shifted arguments up to thrice, base-bits-dir is $1 rather than $4. Introduce $BASEBITSDIR for clarity and to avoid repeating this mistake in the future. Fixing this ensures that we pick up newly built boot bits native to the target rather for/from the host.
  • Apply some of the argument quoting fixes done in r287635 but missing in later revisions.

Details

Provenance
mariusAuthored on
Parents
rS334804: This commit brings in a new refactored TCP stack called Rack.
Branches
Unknown
Tags
Unknown

Event Timeline

yuripv added inline comments.
/head/release/amd64/mkisoimages.sh
50

As this copied over to msdosfs, cp -p seems to break the 'cdrom' target for me:

sh /usr/src/release/amd64/mkisoimages.sh -b 13_0_CURRENT_amd64_CD disc1.iso disc1
200+0 records in
200+0 records out
819200 bytes transferred in 0.003921 secs (208939883 bytes/sec)
newfs_msdos: cannot get number of sectors per track: Operation not supported
newfs_msdos: cannot get number of heads: Operation not supported
/dev/md0: 1557 sectors in 1557 FAT12 clusters (512 bytes/cluster)
BytesPerSec=512 SecPerClust=1 ResSectors=1 FATs=2 RootDirEnts=512 Sectors=1600 Media=0xf8 FATsecs=5 SecPerTrack=63 Heads=1 HiddenSecs=0
cp: chown: efi/efi/boot/bootx64.efi: Invalid argument
*** Error code 1

Stop.
make: stopped in /usr/src/release

Note that I'm doing buildworld as user, not root (if it's related).