Article 5HN7W make_slackware_live.sh FAILED at lines 1546, 1548, and 1936

make_slackware_live.sh FAILED at lines 1546, 1548, and 1936

by
jowski
from LinuxQuestions.org on (#5HN7W)
I'm trying to build my own slackware_live USB and when the script attempts to patch /mnt/sbin/liloconfig, it fails at the 8th hunk. 1-7 and 9&10 all patch without a problem. The code that should be patched matches the code in the patch exactly which is somewhat frustrating and breaks the script.

There are two other minor issues that come up before this. Lines 1546 and 1548 are attempts to look at and create a symlink to /usr/share/zoneinfo/UTC. I was able to get past this by commenting both lines but I'm sure that's not the best solution.

I'm wondering what to do now. The thought of manually applying the 8th hunk and trying again has crossed my mind.

Jim

edit: The version I'm trying to build the stick with is 'current' and was last updated May 9, 2021 around 0900 UTC. The system I'm doing the build on is also 'current' but the last update was a month or two ago.

second edit: I tried manually applying the offending patch hunk and got to this:

-- Preparing the system for live booting.
-- Creating initrd for kernel-generic 5.4.57 ...
tar: option requires an argument -- 'f'
Try 'tar --help' or 'tar --usage' for more information.
*** ./make_slackware_live.sh FAILED at line 3059 ***
--- Cleaning up the staging area...

Could it be the order of things on line 3059?

Swapping things around on line 3059 changed the error to:
tar: -C: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
*** ./make_slackware_live.sh FAILED at line 3059 ***
--- Cleaning up the staging area...

Ineresting since it checked to see if the staging area was created (and it was) six lines earlier. I'm stuck.latest?d=yIl2AUoC8zA latest?i=m0PCzt942kE:nxYDZdILrIA:F7zBnMy latest?i=m0PCzt942kE:nxYDZdILrIA:V_sGLiP latest?d=qj6IDK7rITs latest?i=m0PCzt942kE:nxYDZdILrIA:gIN9vFwm0PCzt942kE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments