summaryrefslogtreecommitdiff
path: root/lib/psm.c
AgeCommit message (Expand)AuthorFilesLines
2008-12-08Fix segfault on packages without separate scriptlet program tags (rhbz#475214)Panu Matilainen1-1/+1
2008-12-03Remove unnecessary fiddling with rpmte internalsPanu Matilainen1-9/+1
2008-11-30Set/clear rpmte db instance on RPMDB_ADD / REMOVE from psmPanu Matilainen1-1/+5
2008-11-27Eliminate the now unused ts element field of file info setsPanu Matilainen1-1/+1
2008-11-27Pass rpmte to fsmSetup()Panu Matilainen1-3/+3
2008-11-26Use rpmteNEVRA() for scriptlet messages now that it's possiblePanu Matilainen1-10/+4
2008-11-26Lose unnecessary and silly rpmpsmGetTs() internal funcPanu Matilainen1-5/+0
2008-11-26Rip the remains of fi->h in psmPanu Matilainen1-6/+0
2008-11-26Use ts element, not fi header for PSM_PKGINSTALL (PSM_POST + PSM_INIT)Panu Matilainen1-11/+13
2008-11-26Use ts element, not fi header in PSM_RPMIO_FLAGS and PSM_RPMDB_ADDPanu Matilainen1-6/+11
2008-11-26Make psm scriptlet operations use ts element header instead of fiPanu Matilainen1-15/+17
2008-11-26Lose now unnecessary PSM_RPMDB_LOAD stage and rpmpsmSetFI()Panu Matilainen1-27/+0
2008-11-26Rework rpmtsProcess() to use rpmteOpen+Close for both install and erasePanu Matilainen1-5/+2
2008-11-24switch to new rpmfiReplaced APIFlorian Festi1-6/+6
2008-11-21Fix build tree creation with relative paths for %_topdir and friendsPanu Matilainen1-0/+4
2008-11-19Eliminate unnecessary fi->record fieldPanu Matilainen1-6/+7
2008-11-19Avoid unnecessary mucking with rpmfi internalsPanu Matilainen1-14/+14
2008-11-19Refer to psm->te instead of fi->te in rpmpsmStage()Panu Matilainen1-6/+6
2008-11-19Restore SIGPIPE to default action for scriptlets (rhbz#471591)Panu Matilainen1-0/+1
2008-11-18Lazy allocation of FSM for file info setsPanu Matilainen1-6/+6
2008-11-17Simplify rpmInstallLoadMacros()Panu Matilainen1-13/+4
2008-11-17Avoid reconstructing half of rpmfi manually in rpmInstallSourcePackage()Panu Matilainen1-63/+50
2008-11-17Unnecessary local variable, result only needed oncePanu Matilainen1-4/+1
2008-11-17Assume failure in rpmInstallSourcePackage()Panu Matilainen1-10/+3
2008-11-15Use rpmpsmNew() + rpmpsmFree() instead of manually doing the samePanu Matilainen1-14/+4
2008-11-15Eliminate match iterator from psm structPanu Matilainen1-15/+16
2008-11-11Remove unnecessary initializationPanu Matilainen1-3/+0
2008-11-11Move file action calculations to rpmfiNew() where possiblePanu Matilainen1-3/+0
2008-11-11Figure out cpio mapflags in rpmfiNew()Panu Matilainen1-4/+0
2008-11-05Stop messing with fi->fstates allocations in psmPanu Matilainen1-7/+0
2008-11-05Kill off per-file cpio map flagsPanu Matilainen1-2/+0
2008-11-05Remove unused variablePanu Matilainen1-1/+0
2008-11-05Remove useless rpmfi->gid and uid "defaults"Panu Matilainen1-2/+0
2008-11-04Stop messing around with rpmfi user+group names from psmPanu Matilainen1-13/+0
2008-11-04Return proper exit code when exec*() functions failJindrich Novy1-1/+1
2008-10-30Change all in-tree rpmdsNew() uses to non-scarememPanu Matilainen1-2/+1
2008-10-30Convert in-tree users of rpmfiNew() to use flag namesPanu Matilainen1-2/+1
2008-10-14Fix build without LuaPanu Matilainen1-1/+1
2008-10-10Use rpmMkdirs() instead of rpmMkdirPath() in rpmInstallSourcePackage()Panu Matilainen1-24/+6
2008-10-03Similar semantics for <lua> scriptletsPanu Matilainen1-0/+6
2008-10-03Always perform callback notify of lua scriptlet errors tooPanu Matilainen1-8/+9
2008-10-03Remove unnecessary {} block + indentation, no functional changesPanu Matilainen1-6/+4
2008-10-03Filter out error exit codes from non-pre scriptlets (rhbz#216221, #rhbz465409)Panu Matilainen1-1/+11
2008-10-03Emit RPMCALLBACK_SCRIPT_ERROR notification on all scriptlet failuresPanu Matilainen1-6/+4
2008-10-03Assume failure in psm runScript()Panu Matilainen1-8/+6
2008-10-03Log message on all scriptlet failures.Panu Matilainen1-1/+5
2008-09-01Create _topdir if it doesn't exist when installing SRPMJindrich Novy1-0/+8
2008-06-24Force FD_CLOEXEC on all potentially open descriptorsPanu Matilainen1-2/+7
2008-06-19Use type-specific headerPut() in rpmpsmStage()Panu Matilainen1-7/+3
2008-06-18Convert rpmpsmStage() to use headerPut()Panu Matilainen1-8/+9