Public bug reported:

This bug is a mirror of the GitHub issue
https://github.com/zyga/zmk/issues/80 filed for the purpose of SRU

The following makefile snippet illustrates the problem:

# Symlink: sysota-rauc-hook -> sysotad
cmd/sysotad/sysota-rauc-hook.InstallDir = $(cmd/sysotad/sysotad.InstallDir)
cmd/sysotad/sysota-rauc-hook.SymlinkTarget = sysotad
$(eval $(call ZMK.Expand,Symlink,cmd/sysotad/sysota-rauc-hook))

The result of make install should be

ln -s sysotad /usr/lib/sysotad/sysotad-rauc-hook

With zmk << 0.5.1 it is

ln -s sysotad /usr/lib/sysotad/cmd/sysotad/sysotad-rauc-hook

This bug was fixed in zmk 0.5.1

** Affects: zmk (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  This bug is a mirror of the GitHub issue
  https://github.com/zyga/zmk/issues/80 filed for the purpose of SRU
  
  The following makefile snippet illustrates the problem:
  
  # Symlink: sysota-rauc-hook -> sysotad
  cmd/sysotad/sysota-rauc-hook.InstallDir = $(cmd/sysotad/sysotad.InstallDir)
  cmd/sysotad/sysota-rauc-hook.SymlinkTarget = sysotad
  $(eval $(call ZMK.Expand,Symlink,cmd/sysotad/sysota-rauc-hook))
  
+ The result of make install should be
  
- The result of make install should be ln -s sysotad 
/usr/lib/sysotad/sysotad-rauc-hook. With zmk 0.5 it is ln -s sysotad 
/usr/lib/sysotad/cmd/sysotad/sysotad-rauc-hook.
+ ln -s sysotad /usr/lib/sysotad/sysotad-rauc-hook
+ 
+ With zmk << 0.5.1 it is
+ 
+ ln -s sysotad /usr/lib/sysotad/cmd/sysotad/sysotad-rauc-hook
+ 
+ This bug was fixed in zmk 0.5.1

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1933827

Title:
  Symlink incorrectly installs to a sub-directory related to source name
  (github: 80)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zmk/+bug/1933827/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to