aboutsummaryrefslogtreecommitdiff
path: root/release/powerpc
Commit message (Collapse)AuthorAgeFilesLines
* release: Fix powerpc boot block uudecodingColin Percival13 days1-1/+1
| | | | | | | Confusingly, uuencode writes to stdout by default, but uudecode does not. Fixes: 6c3e01bf8578 "release: Randomize powerpc boot block file name" MFC after: 3 days
* release: Randomize powerpc boot block file nameColin Percival13 days1-6/+9
| | | | | | | | With parallel builds enabled, we can end up building multiple ISOs at once, which causes problems if mkisoimages.sh uses a consistent file name "/tmp/hfs-boot-block". MFC after: 3 days
* powerpc/generate-hfs.sh: Don't include $FreeBSD$ in prefix to uuencoded imageJohn Baldwin2023-09-251-1/+0
| | | | | Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41958
* Remove $FreeBSD$: one-line bare tagWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-166-7/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* 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
* Delete memstick images for PowerPC.Nathan Whitehorn2021-02-241-50/+0
| | | | | | | | | | | | | These images only ever worked on Apple Powermacs, which are now a very old platform, and did so only for a very loose definition of "worked" (they booted on a small subset of supported machines). Moreover, all the machines they *did* boot on also would boot from a memstick made by dd'ing an CD image to a flash drive. Since a flash drive prepared in this way would also boot all the newer systems we support, the memstick images were strictly less functional than the CD images, even for booting from memory sticks. Reviewed by: jhibbits MFC after: 1 week
* [PowerPC64LE] Add release building script for powerpc64le.Brandon Bergren2020-09-231-0/+10
| | | | | | | | | | This was originally part of the initial commit, but after discussion in D26399, I split it out into its own commit after the kernel config file. Sponsored by: Tag1 Consulting, Inc. Notes: svn path=/head/; revision=366044
* Update loader size on powerpc isosJustin Hibbits2019-05-202-18/+18
| | | | | | | | | | | | | | | Summary: loader has grown to the point it's overflowing the existing 307200 bytes allocated to it in the HFS boot partition on the isos. Bump the space reservation up to 500k. Submitted by: Brandon Bergren MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D20301 Notes: svn path=/head/; revision=347986
* 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
* make-memstick.sh: put partition args on separate linesEd Maste2018-04-101-1/+4
| | | | | | | | | | | | This makes it easier to identify the individual partition types and facilitates comparisons across architectures. Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=332390
* 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
* Add general configuration files used by release/release.sh forGlen Barber2017-11-173-0/+30
| | | | | | | | | | | big-iron installation images. MFC after: 3 days MFC with: r325948, r325949, r325950, r325951 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=325953
* Move sys/boot to stand. Fix all references to new locationWarner Losh2017-11-141-1/+1
| | | | | | | Sponsored by: Netflix Notes: svn path=/head/; revision=325834
* Update several more URLsEitan Adler2017-10-291-1/+1
| | | | | | | | - Primarily http -> https - Primarily FreeBSD project URLs Notes: svn path=/head/; revision=325096
* make-memstick.sh: use UFSv2Ed Maste2017-09-111-1/+1
| | | | | | | | | | | | | | | | | | There's not much practical difference as far as install media is concerned but newfs creates UFSv2 by default and it is sensible to use the contemporary UFS version. I also intend to change makefs to create UFSv2 by default (to match newfs) so we'll want make-memstick.sh to be explicit, rather than relying on the host tool's default. Reviewed by: andrew, gjb, jhibbits MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12231 Notes: svn path=/head/; revision=323438
* revert unintentional changes from r323436Ed Maste2017-09-111-1/+1
| | | | Notes: svn path=/head/; revision=323437
* boot1: remove BOOT1_MAXSIZE default valueEd Maste2017-09-111-1/+1
| | | | | | | | | | | | This Makefile relies on Makefile.fat providing the correct value for BOOT1_MAXSIZE and BOOT1_OFFSET. Since BOOT1_OFFSET had no default value here the build would already fail if Makefile.fat did not provide correct values. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=323436
* make-memstick.sh: use 'set -e' to abort if any step failsEd Maste2017-09-051-4/+2
| | | | | | | | | | | | | | | Also remove the now-redundant error handling that was only for makefs. This change applies arm64's r308171 to the other make-memstick.sh versions. Reviewed by: gjb MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D12195 Notes: svn path=/head/; revision=323178
* 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
* Prevent memstick installation medium from attempting to mountGlen Barber2016-01-051-0/+2
| | | | | | | | | | | | | | the root filesystem read-write. This causes problems booting the memstick installation medium from write-protected USB flash drives. Submitted by: A.J. Kehoe IV [1], Oliver Jones [2] PR: 187161 [1], 205886 [2] MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=293188
* 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
* Use mkimg instead of md(4) and gpart.Nathan Whitehorn2014-05-011-32/+1
| | | | Notes: svn path=/head/; revision=265171
* 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
* Farewall, sysinstall! You served us well for many years, but 10.0 is oneNathan Whitehorn2011-10-031-49/+0
| | | | | | | | | | | digit beyond your time. Various sysinstall dependencies (e.g. libftpio, libdisk, libodialog, etc.) will be cleaned up in coming days. Some will take longer than others due to a few other consumers (tzsetup and sade). Notes: svn path=/head/; revision=225937
* 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
* Mount memsticks read-only by default to prevent them being filled byNathan Whitehorn2011-07-301-1/+1
| | | | | | | | | user modifications and subsequently preventing a functioning installation. Approved by: re (kib) Notes: svn path=/head/; revision=224504
* 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-044-23/+99
| | | | | | | | | | | 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
* Add support for memstick generation on PowerPC. This is a little suboptimalNathan Whitehorn2011-03-231-0/+78
| | | | | | | since glabel doesn't know about APM partitioning yet, but works well enough. Notes: svn path=/head/; revision=219918
* 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 making a release. The old libdialog was renamed to libodialog.Yoshihiro Takahashi2011-01-141-1/+1
| | | | Notes: svn path=/head/; revision=217391
* 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
* Reorder to have -lcrypto after -larchive. Our linker doesn't seem to likeXin LI2010-05-261-2/+2
| | | | | | | the current ordering :( Notes: svn path=/head/; revision=208577
* libarchive now needs libcrypto and liblzma.Xin LI2010-05-251-2/+2
| | | | Notes: svn path=/head/; revision=208545
* Add gpart and glabel to the release CD mfsroot. Even if sysinstallNathan Whitehorn2010-04-201-1/+4
| | | | | | | | | | | cannot partition disks on powerpc, this will allow the user to. PR: powerpc/93203 Obtained from: ia64 MFC after: 1 week Notes: svn path=/head/; revision=206881
* Remove slattach from the install mfsroot since it doesn't exist anymoreJohn Baldwin2010-01-261-1/+0
| | | | | | | | | to quiet a warning from crunchgen. MFC after: 1 week Notes: svn path=/head/; revision=203031
* Add libjail to the boot_crunch binaries (for ifconfig).Jamie Gritton2009-06-291-1/+1
| | | | | | | | | PR: 136071 Submitted by: Scot Hetzel Approved by: re (kensmith), bz (mentor) Notes: svn path=/head/; revision=195156
* Install libusb20.so.1 as libusb.so.1, there will be a followup commit to theAndrew Thompson2009-03-091-1/+1
| | | | | | | | | | | | ports tree so that programs use libusb from the base by default. Thanks to Stanislav Sedov for sorting out the ports build. Bump __FreeBSD_version to 800069 Help and testing by: stas Notes: svn path=/head/; revision=189585
* Catch up with USB2 change.Yoshihiro Takahashi2009-03-031-2/+2
| | | | | | | | | | Remove the usbdevs and add the usbconfig. Spotted by: hrs Tested on: i386 Notes: svn path=/head/; revision=189300
* Recent work on the gnu cpio seems to have introduced some bugs, itKen Smith2008-08-201-4/+2
| | | | | | | | | | | | | | | complains about "Malformed numbers" while unpacking the dists and what winds up on the disk isn't correct. Use this as an opportunity to switch over to bsdcpio since at this point we don't even build and install the gnu cpio by default. Note sysinstall needed to be tweaked a bit (dropping tape block size setting) because it seems bsdcpio doesn't do anything with block sizes, at least as far as reading from archives goes. That wasn't really a problem since installations from tape have been broken for a while and the rest of sysinstall's tape support code will be removed shortly. Notes: svn path=/head/; revision=181927
* libbsdxml is now required by ifconfig(8).Andrew Thompson2008-04-221-0/+1
| | | | | | | Submitted by: Florian Smeets Notes: svn path=/head/; revision=178428