Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Using my own packager #10

Description

@Geremia

sage.yaml contains this:

dist: |
   tar cjf {dist}/sage-{version}-{osname}-{arch}.tar.bz2 {path}

But can I use my own packaging utility instead of simply using tar?

Slackware uses makepkg:

DESCRIPTION
       makepkg  creates  a new Slackware compatible package.  The package is constructed using the contents of the current directory and all subdirectories. If symbolic links
       exist, they will be converted to script code to recreate them when the package is installed.  This  code  will  be  appended  to  the  primary  installation  script  (
       install/doinst.sh  )  , or, if that script does not exist it will be created with those contents.  The package will be written out to the file packagename which should
       be the full name, including the extension.  This is usually .tgz, but .tbz, .tlz, and .txz are also accepted.  The proper compression utility (gzip,  bzip2,  lzma,  or
       xz) needs to be installed on the machine.

It makes a special doinst.sh script for dealing with symlinks, etc. It can even take an "onlyonce script," which sounds like what relocate-once.py is. How could I put relocate-once.py in the proper place of the package?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions