From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miguel Bolanos Subject: Re: [PATCH] elkscmd: rebuild disk images Date: Fri, 04 Jun 2004 09:24:32 -0600 Sender: linux-8086-owner@vger.kernel.org Message-ID: <1086353006.3063.4.camel@talena.hsol.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-SUDO/pQ2TsUtLSoEQ/Uh" Return-path: In-Reply-To: List-Id: To: claudio@conectiva.com Cc: linux-8086@vger.kernel.org --=-SUDO/pQ2TsUtLSoEQ/Uh Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Greetings, On Thu, 2004-06-03 at 16:09, claudio@conectiva.com wrote: > The attached patch allows one to rebuild the disk images provided > that: >=20 > 1. root runs make full3 > 2. /bin and /boot are added to the rootfs template (I also > added /lib, /home, /mnt to mine) > 3. your MAKEDEV script works (Tommy is working on that) > 4. path to dev86 is correctly set in the build system >=20 >=20 > Makefile | 3 ++- > bc/Makefile | 13 +++++++------ > disk_utils/mkfs.c | 2 +- > 3 files changed, 10 insertions(+), 8 deletions(-) >=20 > (Miguel prefers attached patches to inline, so I'm sending them > attached. If anybody thinks inline is better for reviewing and > for archival purposes, I can send an inline version as well.) [...] @@ -27,13 +30,11 @@ STD_BIN =3D=20 STD_LIB =3D=20 STD_SBIN =3D=20 -STD_USR_BIN =3D=20 +STD_USR_BIN =3D STD_USR_LIB =3D=20 STD_USR_MAN =3D=20 STD_USR_SBIN =3D=20 mmh ?? Any reason for this? [...] --- disk_utils/mkfs.c 20 Jul 2002 21:46:15 -0000 1.3 +++ disk_utils/mkfs.c 3 Jun 2004 21:53:51 -0000 @@ -162,7 +162,7 @@ exit(status); } =20 -#define usage() fatal_error("Usage: mkfs /dev/name blocks # Max blocks=3D65535\n",16) +#define usage() fatal_error("Usage: mkfs /dev/name blocks (Max blocks=3D65535)\n",16) #define die(str) fatal_error("mkfs: " str "\n",8) =20 void write_tables(void) You and Tommy are right, I will apply this right now. My apologizes to Tommy for my previous reject. best wishes Mike --=20 --------------------miguel bolanos, systems administrator, linuxlabs ... ........ ..... .... 230 peachtree st nw ste 2701 the original linux labs atlanta.ga.us 30303 -since 1995 http://www.linuxlabs.com office 404.577.7747 fax 404.577.7743 -------------------------------------------------------------------- --=-SUDO/pQ2TsUtLSoEQ/Uh Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQBAwG5tdQCX3Gg3xVoRAmaMAJwKA/7uazMF+3HiNH1cwhHFSO/b8gCfZTGO M5SslfXajYosE878gKT5OO0= =VQpM -----END PGP SIGNATURE----- --=-SUDO/pQ2TsUtLSoEQ/Uh--