From owner-freebsd-current@freebsd.org Thu Jan 19 00:16:00 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1D2CBCB61D8 for ; Thu, 19 Jan 2017 00:16:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mailrelay15.qsc.de (mailrelay15.qsc.de [212.99.187.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.antispameurope.com", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 958461FCA for ; Thu, 19 Jan 2017 00:15:57 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de ([213.148.129.14]) by mailrelay15.qsc.de; Thu, 19 Jan 2017 01:16:55 +0100 Received: from r56.edvax.de (port-92-195-83-137.dynamic.qsc.de [92.195.83.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 418A63CC3F; Thu, 19 Jan 2017 01:15:47 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id v0J0FksA002194; Thu, 19 Jan 2017 01:15:46 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 19 Jan 2017 01:15:46 +0100 From: Polytropon To: "O. Hartmann" Cc: Matthias Apitz , Daniel Kalchev , freebsd-current , freebsd-questions , Slawa Olhovchenkov Subject: Re: ISO image: where is the CLANG compiler? Message-Id: <20170119011546.9c43b065.freebsd@edvax.de> In-Reply-To: <20170118203726.7dea0515@thor.intern.walstatt.dynvpn.de> References: <20170118084502.617bfc94@freyja.zeit4.iv.bundesimmobilien.de> <20170118101915.523d7d7b@freyja.zeit4.iv.bundesimmobilien.de> <20170118123515.GE58505@zxy.spb.ru> <20170118160801.229b4134@freyja.zeit4.iv.bundesimmobilien.de> <20170118153832.GA6905@c720-r292778-amd64> <20170118203726.7dea0515@thor.intern.walstatt.dynvpn.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-cloud-security-sender: freebsd@edvax.de X-cloud-security-recipient: freebsd-current@freebsd.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mailrelay15.qsc.de with 4288A69DC72 X-cloud-security-connect: mx01.qsc.de[213.148.129.14], TLS=1, IP=213.148.129.14 X-cloud-security: scantime:.2579 X-Mailman-Approved-At: Thu, 19 Jan 2017 00:55:08 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2017 00:16:00 -0000 On Wed, 18 Jan 2017 20:37:26 +0100, O. Hartmann wrote: > Am Wed, 18 Jan 2017 16:38:32 +0100 > Matthias Apitz schrieb: >=20 > > Why you do not just boot from USB some mem stick image, mount some disk > > space to /mnt, svn checkout CURRENT to /mnt and build a booteable system > > (world and kernel) and install to DESTDIR=3D/mnt ? > >=20 > > I do not understand all this hassle? > >=20 > > matthias > >=20 >=20 > Wow! >=20 > As I initially stated, that is EXACTLY what I was inclined to do except > the fact that I > had already an intact /usr/obj and usr/src with a complete compiled syste= m. >=20 > I booted from mem stick and I was lost due to no cc! That is the core problem here: cc is not contained in the USB (memstick) image. It _might_ be contained on the live system media, but I'm not sure about this... > Even for "make installworld" it seems I have to rely on the compiler. > And the images > (ISO, memstick et cetera) provided these days do not contain any clang. Then there would be at least the following option: >From the installation media, you can manually extract the distribution files for the base system and use their content to overwrite your non-functional (zero size) files on disk. The task here is to perform archive extraction, and the extractor should be there (simply because the installer uses it as well). With those tools established, you can recompile your system, or "make installworld" from the already populated /usr/obj subtree. Of course, you need to pay attention to have the _correct_ version. > I try to figure out how to avoid this crazy and useless shrinking > of the ISO images - > somehow when building NanoBSD, there are knobs with which we can > prevent the build and/or > installation of subsets like compiler, toolchain et cetera. The way > such thing is > provided via src.conf and make.conf is fine and sophisticated. But > "RELEASE" seems to > handle things different, and the standard is useless for a rescue > mission. So having a more or less complete (!) live system image (for CD or DVD, depending on result size) would probably be a good idea and a versatile tool in case of emergencies. The size limitations, in my opinion, are okay for CD media (650 MB) and DVD media (4,7 GB), but for USB media, I don't see a significant problem making the image 4 or even 8 GB in size. It's actually quite complicated to buy smaller USB sticks or SD cards (sizes < 4 GB) for the few devices they are still required... FreeBSD has always been a "self-contained" system that could "reproduce itself", given that all the sources and the compilation tools were included with the OS. This should be an important goal to achieve with a USB-based _live_ system, and even if you run it from slow USB (instead of fast HDD or SSD), there are still situations where those systems can prevent you from a complete system re-installation. Additionally, USB provides permanent storage (which CDs and DVDs obviously do not). Of course you can more or less manually create such a live media and prepare an image for it, but it would be really nice if such an image would be provided for download. I imagine the initial tasks to be mostly a buildworld/installword into a custom root directory and then creating an image from it, prepending it with the typical boot loader so it becomes a "disk image" (USB image, of course). > Ich widerspreche der Nutzung oder =DCbermittlung meiner Daten f=FCr > Werbezwecke oder f=FCr die Markt- oder Meinungsforschung (=A7 28 Abs. 4 B= DSG). "Das interessiert uns nicht!" - gez. die Werbewirtschaft. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...