Hello community, here is the log from the commit of package linuxrc for openSUSE:Factory checked in at 2016-12-03 18:23:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/linuxrc (Old) and /work/SRC/openSUSE:Factory/.linuxrc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "linuxrc" Changes: -------- --- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes 2016-11-29 12:48:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes 2016-12-03 18:23:54.000000000 +0100 @@ -1,0 +2,8 @@ +Wed Nov 30 13:35:20 UTC 2016 - snwint@suse.com + +- more verbose shared library matching description +- Described symptoms of missing shared libraries +- shared libraries mentioned in README +- 5.0.92 + +------------------------------------------------------------------- Old: ---- linuxrc-5.0.91.tar.xz New: ---- linuxrc-5.0.92.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ linuxrc.spec ++++++ --- /var/tmp/diff_new_pack.m37gwi/_old 2016-12-03 18:23:55.000000000 +0100 +++ /var/tmp/diff_new_pack.m37gwi/_new 2016-12-03 18:23:55.000000000 +0100 @@ -17,7 +17,7 @@ Name: linuxrc -Version: 5.0.91 +Version: 5.0.92 Release: 0 Summary: SUSE Installation Program License: GPL-3.0+ ++++++ linuxrc-5.0.91.tar.xz -> linuxrc-5.0.92.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-5.0.91/README.md new/linuxrc-5.0.92/README.md --- old/linuxrc-5.0.91/README.md 2016-11-28 08:55:46.000000000 +0100 +++ new/linuxrc-5.0.92/README.md 2016-11-30 14:32:28.000000000 +0100 @@ -49,7 +49,7 @@ Use: ```sh -mksusecd --initrd ./linuxrc.rpm ... +mksusecd --initrd ./linuxrc.rpm --create $OUTPUT_ISO $INPUT ``` or, without an RPM: @@ -58,7 +58,25 @@ make mkdir /tmp/initrd cp linuxrc /tmp/initrd/init -mksusecd --initrd /tmp/initrd ... +mksusecd --initrd /tmp/initrd --create $OUTPUT_ISO $INPUT +``` +Forgetting about the correct shared libraries usually leads to crashes and backtraces printed on the terminal. +When compiling linuxrc on a system different from the one in the input iso, make sure that shared libraries are passed with matching versions; typically you'll need libreadline.so and libhd.so but your mileage may vary. In the following example, linuxrc was compiled on Leap 42.1 to build against Tumbleweed; the versions of the two libraries were not matching on the two versions of openSUSE so the correct versions (including symlinks) were attached with `mksusecd` using the following folder structure: + +```sh +#tree /tmp/initrd +/tmp/initrd +├── init +├── lib64 +│ ├── libreadline.so.6 -> libreadline.so.6.2 +│ └── libreadline.so.6.2 +└── usr + └── lib64 + ├── libhd.so -> libhd.so.21 + ├── libhd.so.21 -> libhd.so.21.30 + └── libhd.so.21.30 + +3 directories, 6 files ``` You may also use `mksusecd --micro` in case you only want to test Stage 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-5.0.91/VERSION new/linuxrc-5.0.92/VERSION --- old/linuxrc-5.0.91/VERSION 2016-11-28 08:55:46.000000000 +0100 +++ new/linuxrc-5.0.92/VERSION 2016-11-30 14:32:28.000000000 +0100 @@ -1 +1 @@ -5.0.91 +5.0.92 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/linuxrc-5.0.91/changelog new/linuxrc-5.0.92/changelog --- old/linuxrc-5.0.91/changelog 2016-11-28 08:55:46.000000000 +0100 +++ new/linuxrc-5.0.92/changelog 2016-11-30 14:32:28.000000000 +0100 @@ -1,3 +1,8 @@ +2016-11-29: 5.0.92 + - more verbose shared library matching description + - Described symptoms of missing shared libraries + - shared libraries mentioned in README + 2016-10-06: 5.0.91 - added dependencies to README