reiserfs-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jose R R <Jose.r.r@metztli-it.com>
To: ReiserFS Development List <reiserfs-devel@vger.kernel.org>,
	debian-boot@lists.debian.org,
	debian-cloud <debian-cloud@lists.debian.org>
Subject: Re: Reiser4-enabled Debian Unstable (Sid) netboot iso
Date: Mon, 11 Jan 2016 02:52:16 -0800	[thread overview]
Message-ID: <CAM12Q5RuC-DTFLK+XO=voddM6GRXzCw4ci9OOShDFSfJVGx+aw@mail.gmail.com> (raw)
In-Reply-To: <CAM12Q5QLgEgzb6uh_JPDMv69ZK18N5uceZOTaqx_dh1n1qXXag@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4897 bytes --]

(3/3) Reiser4 version 4.0.1 -enabled patches for Debian Installer
components and/or userland utilities:

On Wed, Jan 6, 2016 at 2:19 AM, Jose R R <Jose.r.r@metztli-it.com> wrote:
> Niltze, all-
>
> I have been building iterations of Debian-Installer (d-i) enhanced
> with Reiser4 4.0.1 kernel, disk and filesystem utilities. Thus far I
> have used a local build on Debian Sid of VirtualBox 5.0.10 environment
> to test multiple Reiser4 installations.
>
> For flexibility, especially if you are testing in a VM, the following
> d-i options may help:
>
> -Network-console: continue installation remotely using SSH
> -Openssh-client-udeb: secure shell client for the Debian installer
>
> Now:
>
> d-i offers three(3) choices:
>
> Jessie (stable)
> Stretch (testing)
> Sid (unstable)
>
> I have verified that *all* can be installed from my custom Reiser4
> d-i; Nevertheless Jessie (stable) needs access to testing and/or
> unstable repositories added at /etc/apt/sources.list in order to
> fulfill dependencies of the unstable kernel in my d-i. Jessie (stable)
> also needs to have newer Reiser4 4.0.1 packages because d-i downloads
> the older (stable) version. I have covered *all* of Jessie conditions
> by building newer unstable versions of its requirements. The downside
> of it is that a user needs to manually intervene at the shell,
> possibly at the expert level.
>
> As for Stretch and Sid, manual intervention is required only to modify
> /etc/initramfs-tools/modules file by adding at the end:
>
> crc32c_intel
> reiser4
>
> *before* installing the custom Reiser4 kernel, thus:
> dpkg -i linux-image-4.3.0-1-amd64_4.3.3-5_amd64.deb
>
> so that initramfs can be appropriately updated *before* rebooting the
> new Reiser4 installation.
>
> Note that GRUBX does not support booting from /boot Reiser4
> filesystem; accordingly, a small partition must be provisioned for
> booting into a Reiser4 -formatted root (/) partition. The d-i
> partman-reiser4 will format Reiser4 partitions thus:
>
> mkfs.reiser4 -yo "create=reg40" <your selected partition>
>
> Additionally, user may want to provision a /tmp in a non-Reiser4
> partition if the intention is to run MariaDB (MySQL) because -- at the
> very least -- the DB will complain about /tmp issues if it is
> formatted in Reiser4 --personal experience ;-)
>
> With the above said and warning that this is an alpha effort *without*
> any explicit and/or implied guarantee that will be risk-free, here is
> the current yield of of Reiser4 effort:
>
> Reiser4 -enabled Debian-Installer (d-i) netboot mini.iso renamed as:
> http://metztli.it/readOnlyEphemeral//metztli_it-reiser4_d-i.iso
>
> Reiser4 -enabled kernel & modules.README_1st:
> http://metztli.it/readOnlyEphemeral/linux-image-4.3.0-1-amd64_4.3.3-5_amd64.tar
>
> Reiser4 -enabled Debian GNU Parted packages (install at the end of
> installation procedure); please note that those packages under
> reiser4-parted_3.2-12/misc are optional):
> http://metztli.it/readOnlyEphemeral/reiser4-parted_3.2-12.tar
> (after untarring above referenced, install as)
> cd reiser4-parted_3.2-12
> dpkg -i parted_3.2-12_amd64.deb libparted2_3.2-12_amd64.deb
>
> Next resource is only needed if Jessie was installed. Package below
> will replace the older Reiser4 file utilities:
> http://metztli.it/readOnlyEphemeral/reiser4progs-4.0.1.tar
>
> Although I have created patches for most (or all ;-) of the above at
> GitHub, I realize Debian Unstable (Sid) is a fast moving development
> effort and within a couple of weeks the kernel referenced above will
> be outdated and d-i will refuse to install.
>
> With the previous statement said, and if anyone is willing, try the
> above Debian-Installer (d-i) resources while the kernel is fresh...
>
> Feedback and/or suggestions welcome.
>
>
>
>
> P.S I am already preparing some images for Google Compute Engine (GCE)
> < https://cloud.google.com/compute/ > to add to currently testing
> Reiser4 images created last year.
> --

Reiser4 4.0.1 -enabled Reiser4progs utilities to manage Reiser4 4.0.1
derived creation, formatting, and partitioning. In addition to
generating the desired userland utilities for Debian (which are
already in Stretch & Sid debian repos), it creates UDEBs suitable for
inclusion in a Reiser4 4.0.1 -enabled Debian-Installer (d-i)

Patch inclueded in repo:
https://github.com/Metztli/debian-installer-reiser4progs

and attached patch below:

Best Professional Regards

-- 
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Try at no charge http://b2evolution.net for http://OpenShift.com PaaS
---------------------------------------------------------------------------------------------
from our GitHub http://Nepohualtzintzin.com repository. Cloud the easy way!
---------------------------------------------------------------------------------------------

[-- Attachment #2: 0001-Added-reiser4progs-support-to-generate-UDEBs-for-Deb.patch --]
[-- Type: application/octet-stream, Size: 5652 bytes --]

From 3478c2545277f5f54d602a051390206c826436ed Mon Sep 17 00:00:00 2001
From: Metztli <jose.rodriguez@metztli-it.com>
Date: Sun, 27 Dec 2015 20:18:15 -0800
Subject: [PATCH] Added reiser4progs support to generate UDEBs for
 Debian-Installer

---
 README.md                       |  5 +++++
 build/reiser4progs/run-ldconfig |  1 +
 build/udebs/run-ldconfig        |  1 +
 debian/control                  | 17 +++++++++++++++
 debian/rules                    | 48 ++++++++++++++++++++---------------------
 5 files changed, 48 insertions(+), 24 deletions(-)
 create mode 100644 README.md
 create mode 120000 build/reiser4progs/run-ldconfig
 create mode 120000 build/udebs/run-ldconfig

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2e8a2cd
--- /dev/null
+++ b/README.md
@@ -0,0 +1,5 @@
+# debian-installer-reiser4progs
+
+Component set will create UDEBs suitable for inclusion into the Debian-Installer (d-i)
+for a successful Debian partitioning, formatting, and installation onto Reiser4 filesystem.
+Additionally, of course, will also generate upstream maintainer's userland DEB packages.
diff --git a/build/reiser4progs/run-ldconfig b/build/reiser4progs/run-ldconfig
new file mode 120000
index 0000000..2657475
--- /dev/null
+++ b/build/reiser4progs/run-ldconfig
@@ -0,0 +1 @@
+../../run-ldconfig
\ No newline at end of file
diff --git a/build/udebs/run-ldconfig b/build/udebs/run-ldconfig
new file mode 120000
index 0000000..2657475
--- /dev/null
+++ b/build/udebs/run-ldconfig
@@ -0,0 +1 @@
+../../run-ldconfig
\ No newline at end of file
diff --git a/debian/control b/debian/control
index 151a3da..5abe3b6 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,23 @@ Description: administration utilities for the Reiser4 filesystem
    - measurefs.reiser4
    - mkfs.reiser4
 
+Package: reiser4progs-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: user-level tools to manage Reiser4 filesystems
+ This installer module contains utilities to check, resize, and debug 
+ Reiser4 filesystems. 
+
+Package: mkreiser4-udeb
+XC-Package-Type: udeb
+Section: debian-installer
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: user-level tool to make Reiser4 filesystems
+ This installer module contains the utility to create Reiser4 filesystems.
+
 Package: libreiser4-dev
 Section: libdevel
 Priority: extra
diff --git a/debian/rules b/debian/rules
index 67ff1b0..551b172 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,21 +45,21 @@ configure-reiser4progs-stamp:
 	cd $(CURDIR)/build/reiser4progs && $(CONFIGURE) --with-readline
 	touch $@
 
-#configure/mkreiser4-udeb configure/reiser4progs-udeb:: configure-udebs-stamp
-#configure-udebs-stamp::
-#	mkdir -p $(CURDIR)/build/udebs
-#	cd $(CURDIR)/build/udebs && $(CONFIGURE) --with-readline=no 
-#	touch $@
+configure/mkreiser4-udeb configure/reiser4progs-udeb:: configure-udebs-stamp
+configure-udebs-stamp::
+	mkdir -p $(CURDIR)/build/udebs
+	cd $(CURDIR)/build/udebs && $(CONFIGURE) --with-readline=no 
+	touch $@
 
 build/libreiser4-dev build/reiser4progs:: build-reiser4progs-stamp
 build-reiser4progs-stamp:
 	$(MAKE) -C $(CURDIR)/build/reiser4progs
 	touch $@
 
-#build/mkreiser4-udeb build/reiser4progs-udeb:: build-udebs-stamp
-#build-udebs-stamp::
-#	$(MAKE) -C $(CURDIR)/build/udebs
-#	touch $@
+build/mkreiser4-udeb build/reiser4progs-udeb:: build-udebs-stamp
+build-udebs-stamp::
+	$(MAKE) -C $(CURDIR)/build/udebs
+	touch $@
 
 install/reiser4progs:: install-reiser4progs-stamp
 install-reiser4progs-stamp:
@@ -82,21 +82,21 @@ install-libreiser4-dev-stamp::
 	rm -rf $(CURDIR)/debian/libreiser4-dev/usr/share/doc/{AUTHORS,BUGS,README,THANKS}
 	rm -f $(CURDIR)/debian/libreiser4-dev/usr/lib/*.la
 
-#install/mkreiser4-udeb:: install-mkreiser4-udeb-stamp
-#install-mkreiser4-udeb-stamp::
-#	$(MAKE) -C $(CURDIR)/build/udebs install DESTDIR=$(CURDIR)/debian/mkreiser4-udeb/
-#	mv $(CURDIR)/debian/mkreiser4-udeb/usr/sbin $(CURDIR)/debian/mkreiser4-udeb/
-#	rm -rf $(CURDIR)/debian/mkreiser4-udeb/sbin/make_reiser4
-#	rm -rf $(CURDIR)/debian/mkreiser4-udeb/usr
-#	rm -rf $(CURDIR)/debian/mkreiser4-udeb/sbin/{debugfs.reiser4,fsck.reiser4,measurefs.reiser4}
-
-#install/reiser4progs-udeb:: install-reiser4progs-udeb-stamp
-#install-reiser4progs-udeb-stamp::
-#	$(MAKE) -C $(CURDIR)/build/udebs install DESTDIR=$(CURDIR)/debian/reiser4progs-udeb/
-#	mv $(CURDIR)/debian/reiser4progs-udeb/usr/sbin $(CURDIR)/debian/reiser4progs-udeb/
-#	rm -rf $(CURDIR)/debian/reiser4progs-udeb/sbin/make_reiser4
-#	rm -rf $(CURDIR)/debian/reiser4progs-udeb/usr
-#	rm -rf $(CURDIR)/debian/reiser4progs-udeb/sbin/{mkfs.reiser4,measurefs.reiser4}
+install/mkreiser4-udeb:: install-mkreiser4-udeb-stamp
+install-mkreiser4-udeb-stamp::
+	$(MAKE) -C $(CURDIR)/build/udebs install DESTDIR=$(CURDIR)/debian/mkreiser4-udeb/
+	mv $(CURDIR)/debian/mkreiser4-udeb/usr/sbin $(CURDIR)/debian/mkreiser4-udeb/
+	rm -rf $(CURDIR)/debian/mkreiser4-udeb/sbin/make_reiser4
+	rm -rf $(CURDIR)/debian/mkreiser4-udeb/usr
+	rm -rf $(CURDIR)/debian/mkreiser4-udeb/sbin/{debugfs.reiser4,fsck.reiser4,measurefs.reiser4}
+
+install/reiser4progs-udeb:: install-reiser4progs-udeb-stamp
+install-reiser4progs-udeb-stamp::
+	$(MAKE) -C $(CURDIR)/build/udebs install DESTDIR=$(CURDIR)/debian/reiser4progs-udeb/
+	mv $(CURDIR)/debian/reiser4progs-udeb/usr/sbin $(CURDIR)/debian/reiser4progs-udeb/
+	rm -rf $(CURDIR)/debian/reiser4progs-udeb/sbin/make_reiser4
+	rm -rf $(CURDIR)/debian/reiser4progs-udeb/usr
+	rm -rf $(CURDIR)/debian/reiser4progs-udeb/sbin/{mkfs.reiser4,measurefs.reiser4}
 
 clean::
 	dh_autoreconf_clean
-- 
2.6.4


  parent reply	other threads:[~2016-01-11 10:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-06 10:19 Reiser4-enabled Debian Unstable (Sid) netboot iso Jose R R
2016-01-06 12:21 ` dimas
2016-01-06 13:42   ` Jose R R
2016-01-06 15:20     ` dimas
2016-01-08  9:38       ` Jose R R
2016-01-07  8:11 ` Jose R R
2016-01-08 18:32   ` dimas
2016-01-09  3:07     ` Jose R R
     [not found]   ` <20160111084732.48bf9447@multivac.localdomain>
     [not found]     ` <20160111062221.GC23329@mraw.org>
     [not found]       ` <20160111190158.58dc383f@multivac.localdomain>
2016-01-12  8:34         ` Jose R R
2016-01-11 10:28 ` Jose R R
2016-01-11 10:39 ` Jose R R
2016-01-11 10:52 ` Jose R R [this message]
2016-01-11 11:42 ` Jose R R
     [not found]   ` <CAM12Q5Tj3xgN5izBa0jA8Mn1Mu7-RqRKTmStoNUfmJNtb=EtNA@mail.gmail.com>
2016-01-11 11:46     ` Fwd: " Jose R R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM12Q5RuC-DTFLK+XO=voddM6GRXzCw4ci9OOShDFSfJVGx+aw@mail.gmail.com' \
    --to=jose.r.r@metztli-it.com \
    --cc=debian-boot@lists.debian.org \
    --cc=debian-cloud@lists.debian.org \
    --cc=reiserfs-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).