aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc/mkisoimages.sh
Commit message (Collapse)AuthorAgeFilesLines
* release: Add support for building on non-FreeBSDJessica Clarke2022-02-281-1/+1
| | | | | | | | | | | | | | | | This requires two sets of changes. Firstly, for non-FreeBSD, we do not know where tools are in PATH (and it is likely that some are not in system directories and have been built as bootstrap tools during the build), so we should leave PATH alone and trust the user. Secondly, makefs needs a master.passwd for building images from a METALOG file, so pass the directory in the image tree to makefs's -N option in order to pick up a valid FreeBSD master.passwd; this is unnecessary on FreeBSD (except in the edge case of building an image that refers to users or groups not present in the host's database, which is unlikely but technically possible) but harmless so can be done unconditionally. Reviewed by: brooks, emaste, gjb Differential Revision: https://reviews.freebsd.org/D34001
* release: Support -DNO_ROOT image buildingJessica Clarke2022-02-281-9/+49
| | | | | | | | | | | | | | | | | | | | | | | | This requires a bunch of METALOG mangling to include the files we inject into the tree. The mkisoimages.sh and make-memstick.sh scripts are now called with the current directory inside the tree so that the relative paths in the METALOG match up with the current directory. The scripts do not require this when not using a METALOG, but for simplicity we always do so. The Makefile mangles the real METALOG created from the install, as those files are shared across all uses of the tree, but the shell scripts create a temporary copy of the METALOG that they mangle as their tree modifications are specific to that image. We also need to pass -D to makefs to turn any duplicate METALOG entry errors into warnings, as we have many (harmless) instances of those. Whilst dvd1.iso should work, the !NOPKG code will need more work to support this. All media will also lack mergemaster and etcupdate trees, since more work is needed to add -DNO_ROOT modes to them. Users of install media built this way will have to manually bootstrap them. Reviewed by: brooks, gjb Differential Revision: https://reviews.freebsd.org/D33999
* release: set -e to exit on error in iso image scriptsEd Maste2018-10-221-0/+1
| | | | | | | | Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D17651 Notes: svn path=/head/; revision=339609
* After removal of loader.ps3, change petitboot configuration in release mediaNathan Whitehorn2018-01-011-18/+24
| | | | | | | | | | to directly kexec the kernel. Unlike the old loader.ps3 code, this also works on PowerNV systems, which also use petitboot. MFC after: 1 month Notes: svn path=/head/; revision=327456
* Update several more URLsEitan Adler2017-10-291-1/+1
| | | | | | | | - Primarily http -> https - Primarily FreeBSD project URLs Notes: svn path=/head/; revision=325096
* mkisoimages.sh: remove obsolete x$var conventionEd Maste2017-09-041-1/+1
| | | | | | | | Ancient shells had trouble with empty variables but this has not been relevant for FreeBSD for a very long time (decades?). Notes: svn path=/head/; revision=323165
* Merge ^/projects/release-install-debug:Glen Barber2016-01-051-2/+2
| | | | | | | | | | | | | | | - Rework MANIFEST generation and parsing via bsdinstall(8). - Allow selecting debugging distribution sets during install. - Rework bsdinstall(8) to fetch remote debug distribution sets when they are not available on the local install medium. - Allow selecting additional non-GENERIC kernels during install. At present, GENERIC is still required, and installed by default. Tested with: head@r293203 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=293223
* Fix argument quoting and remove unnecessary bracesDevin Teske2015-09-101-13/+13
| | | | | | | | MFC after: 3 weeks X-MFC-to: stable/10 Notes: svn path=/head/; revision=287635
* CDs are not partitioned, so this is not correct syntax for loading fromNathan Whitehorn2013-09-171-1/+1
| | | | | | | | | | ISO 9660. Omit the partition ID. Approved by: re (kib) MFC after: 2 weeks Notes: svn path=/head/; revision=255641
* - Add CHECKSUM.* support in Makefile[1].Hiroki Sato2013-02-031-2/+2
| | | | | | | | | | | | | | | - Use ln -fs to create a symlink. - Remove pkgadd for docports. - Use WITHOUT_JADETEX=yes instead of WITH_JADETEX=no. - Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE. - Use makefs(8) and gpart(8) for sparc64 ISO image[2]. - Add publisher option to makefs(8)[2]. Based on work by: gjb[1] Discussed with: marius, nwhitehorn[2] Notes: svn path=/head/; revision=246283
* ISO 9660 specification allows only "d-characters" and "a-characters" in theHiroki Sato2013-01-081-2/+2
| | | | | | | | | Volume Descriptor (section 7.4). In short, upper-case alphanumeric + some symbols only. While the makefs utility automatically converts the characters, $LABEL should be consistent in the scripts. Notes: svn path=/head/; revision=245177
* Provide a kboot.conf to allow powerpc64 install media to be booted onNathan Whitehorn2011-08-141-0/+3
| | | | | | | | | Playstation 3 consoles running kboot or petitboot. Approved by: re (bz) Notes: svn path=/head/; revision=224866
* Add an MBR to our release media to aid booting some IBM systems.Nathan Whitehorn2011-06-121-0/+2
| | | | Notes: svn path=/head/; revision=223001
* Fix pSeries/PAPR boot CD construction after actual testing. It seems thatNathan Whitehorn2011-05-121-9/+7
| | | | | | | | IBM SLOF is (a) case-sensitive and (b) accepts only booting files in certain subdirectories of the CD. Notes: svn path=/head/; revision=221825
* Add (somewhat speculative) bootable CD support for PAPR/pSeries-typeNathan Whitehorn2011-05-121-0/+16
| | | | | | | | | systems. In principle, FreeBSD should run on at least some of these already, and support for the remainder will hopefully show up eventually, so add this while I'm thinking about it. Notes: svn path=/head/; revision=221814
* Garbage collect some unused variables and stray debug code.Nathan Whitehorn2011-05-051-2/+0
| | | | | | | Submitted by: marius Notes: svn path=/head/; revision=221494
* Change the way powerpc bootable CDs are generated to work around a bugNathan Whitehorn2011-05-041-20/+12
| | | | | | | | | | | in hybrid image generation in cdrtools. This produces a small HFS partition containing loader, mapped in by an oddly-formed APM table using a new feature in makefs. This does not appear to work yet on early-model G3 systems, which will be fixed later, but produces bootable CDs on everything else. Notes: svn path=/head/; revision=221465
* Use labels to find release media instead of hard-coded device paths. ThisNathan Whitehorn2011-03-221-0/+3
| | | | | | | | | | | makes booting more reliable (and working at all on USB sticks). While here, move responsibility for setting up fstab into the various platform mk-*.sh scripts. Suggested by: many Notes: svn path=/head/; revision=219856
* Fix the overflowing livefs ISO by removing man pages from the HFS part ofNathan Whitehorn2010-12-151-2/+2
| | | | | | | | | | the hybrid disk. This is a stopgap until a better solution can be found, but lets the powerpc release build complete for the time being. MFC after: 1 week Notes: svn path=/head/; revision=216469
* Replace an obsolete flag -L in an mkisofs(1) command line withHiroki Sato2010-10-031-1/+1
| | | | | | | | | -allow-leading-dots to fix "make release" for FreeBSD/powerpc. Reviewed by: marcel Notes: svn path=/head/; revision=213381
* Add files needed for PPC release ISOs. These are built with thePeter Grehan2004-08-181-0/+57
HFS/ISO9660 extensions to be bootable on Power Macs. boot.tbxi - the CHRP script executed by Open Firmware when auto-booting CDs hfs.map - map Unix files to HFS creator/type fields Reviewed by: ru Submitted by: ssouhlal Notes: svn path=/head/; revision=133950